The present application provides a file uploading method, device and storage medium, which relate to cloud technology, in particular to the field of computer technology, and are used to simplify the steps of uploading files to a CDN, realize fast uploading, and improve uploading efficiency. This application is applied to the command line program for performing file upload function: according to the file upload command input through the command line of the terminal device, the LBS field, the target file field and the CDN path directory field included in the file upload command are obtained; according to the LBS field, from Obtain the pre-configured main file information in the Bin file corresponding to the LBS field configuration; determine the entry main file according to the main file information; call the file upload script configured under the entry main file, execute: obtain the target file according to the target file field, and upload the target file Upload to the specified directory in the specified path of the CDN. By entering the file upload command in the command line, the file can be uploaded to the CDN and the efficiency of file upload can be improved.