How do I Upload a File to my Server?

There are quite a few ways to upload a file to your server at InMotion Hosting. How you upload your files will depend on your preference and your accessibility to the server. In this tutorial, we will explain how to upload a file using the File Manager, FileZilla, and Notepad++. We assume that you know where within your account you need to upload your files. If you’re not sure however, please see our article entitled What directory should I put my files in?.

What’s the difference between each method

There are reasons why a developer would use File Manager, FileZilla, or Notepad++. The following will explain why you would pick one method or the other.

File Manager (browser based): The File manager is good to use when you are away form your computer and you can access a browser. The File Manager can be accessed from any location. This eliminates the need to install a program like FileZilla or Notepad++.

FileZilla (FTP): FileZilla is good to use for uploading files because it works over port 21 and can upload mass amounts of files all at once.

Notepad++ (Code Editor): Using Notepad++ is a way to upload files while you create the content for them, notepad++ is similar to DreamWeaver in that you can Edit files and upload them through the same interface. This eliminates the need to have an HTML editor and a FTP program at the same time.

How to upload a file through File Manager

  1. Login into your cPanel. Click the File Manager button in the Files section.

  • Navigate to the directory you want to upload a file to and click the Upload link at the top of the File Manager. This will open an upload page in a new tab.


  • Drag and drop your file into the window, or click Select File to browse your computer for the file you want to upload. Check the available box if you want to overwrite files that already exist in the upload folder.

  • Your file will then upload. You will see a “100%” message when the upload completes.

    Click the Go Back link to return to the File Manager.

    Refresh your File Manager by clicking the Reload link at the top middle of the File Manager. You should then see the file listed in the File Manager now.


  • How to upload With FTP using FileZilla

    FileZilla has the ability to upload files from your computer to your server with us. The Left side is the” Local Site” and the Right is the “Remote Site“. The “Local Site” is your where your computer files are located. The “Remote Site” is the location of the files on the server. Below is how to upload a file using FileZilla.

    1. Connect to your server with FileZilla.
    2. Local File search FileZilla

      Navigate your files in the third window on the left underneath the “Local Site:” box where its says”Filename“.

    3. Drag file from local to remote FileZilla

      The Window to the right of it is the “Remote Site” directory. Navigate to the folder where you want to upload the file/folder to in the “Filename” Window underneath the “Remote Site” window.

      Drag the file you want to upload to the server from the “Local Site” to the “Remote Site“.


      File in directory FileZilla

      The File will upload and you will see the file in the list of files in the directory where you dragged the file to.

    Using a program like Notepad++

    Notepad++ is a program that allows you to edit your site and upload and create files on the server. It is similar to HTML editor programs like Edit Plus or DreamWeaver. Below will explain how to create a file on your server with Notepad++.

    1. Connect to your server with Notepad++.
    2. Right click Notepad++

      In the NppFTP Window on the right side of Notepad++, navigate to the folder you want to upload a file to. Right click the folder and select “Upload other file here. . .“.

    3. Browse for the fiel Notepad++

      Browse the server for the file you want to upload. Select the file and Click open.

      View of file in Notepad++

      Now you will see the file in the folder location on the server.

    To see other articles available on how to manage your files, please visit How to manage your files on your server?.

    To learn how to edit a file, see our article How do I edit a file on my server?.

    Thoughts on “How do I Upload a File to my Server?

    • Hello sir i wants to upload a video file on my server through filezilla..
      i wants to know wher i will upload it then im able to publicly share the video file to my visitors so they can download it on a single click.

      Im asking for a direct download link.. for that video file
      please tell how its possible 

    • i installed wordpress using wamp because am working with a local server (localhost) but i have totally failed to upload plugins to my local server.. installing them directly failed so i tried using filezilla but unsucessful

      • We would need more detail about the whole process and any error messages you’re seeing in order to properly troubleshoot this issue. If you’re using a WAMP environment then you’re not working with our hosting service. WAMP is made for a local installation not being accessed through a hosting service. We typically do not provide support for that. If you are using WAMP, then you will need to download the plugin files, then use the WordPress dashboard to upload and load the plugin. The WAMP environment should provide the necessary infrastructure to run WordPress locally.

      • Hello Sanjit,

        It depends on WHERE you upload the file in your Website structure. By default, website files are supposed to be in the public_html folder. If you place it in a folder under the PUBLIC_HTML folder then the path will be reflected in the URL. Here’s an example:

        Server file structure:

        public_html (for Example.com)
        -folder1
        –file1.txt

        Website URL for the file would be: http://example.com/folder1/file1.txt

        If you’re using an add-on domain where the domain’s folder is UNDER the public_html folder, the folder path is not affected by the website structure because the domain name is seen as a separate and indvidual domain name.

        public_html/example1.com/add-on_domain.com
        -folder1
        –testfile.pdf

        The URL would be: add-on_domain.com/folder1/testfile.pdf – note that you would need to put the PUBLIC_HTML folder or the primary domain name in the path.

        I hope this helps to explain it. If you’re still having issues with understanding how to determine a path for a file you have uploaded, then please submit another question and provide any further details that would help to clarify the issue.

        If you have any further questions or comments, please let us know.

        Regards,
        Arnel C.

      • I also use Camtasia (v3) for my video work. While we can’t really endorse one over the other, The nice thing is that Camtasia is a full-blown editor and includes export options where you can choose how your video will be compressed. Handbrake’s main purpose is video transcoding and compression. Choosing one over the other will depend on how your video source needs to be compressed and if you find one of the solutions better than the other for your purposes.

    • Sir we have upload our html file throught file manger and it’s uploaded successfully but can’t find the link on which we can show it’s output to public. How to find link which show output of that uploaded html file.

      Thank you

      • File manager doesn’t necessarily generate a link for you. You have to know the path where you put the file. Your public_html folder is the “root” of your domain. So if you uploaded a file to public_html of a domain called mydomain.com that was named myfile.jpg the path would be mydomain.com/myfile.jpg

    • hellow hi 

        i have doubt about static website hosting throungh filezilla…and

      my local file run perfect locally..and after hosting my site some alignment was changed,

      i can’t fix that bug…..plz advice me..

    • Thanks for responding Scott. That’s exactly what I’m looking for. I’ve been working on this for far too long. I keep coming across that type of code but I can’t get the dots to connect. Everytime I use the browse button I have a problem with the upload process.

      I really like the way you guys respond to the public without asking us to open an account before you respond.

      • Thank you for the kind words Tony, we want everyone to feel comfortable asking questions. We don’t have all the answers, but we try to point you in the right direction if we do not.

        With your situation, is there an error message or particular behavior you encounter when the browse button is clicked?

        Kindest Regards,
        Scott M

      • Hello Tony,

        While you will not upload files to your browser as it lives on your local machine, you can set up some code to allow you to upload files and images to your hosting account. We do not currently have an article with this code, but there is a good tutorial at W3Schools that goes over this for you.

        Kindest Regards,
        Scott M

    • I’ve followed the instructions above and uploaded a file using File Manager.

       

      How do I SEND A LINK VIA EMAIL to my client so they can access the file?

      • Hello SB,

        Thank you for contacting us. After uploading a file, you can Hotlink, or Directlink to the file, which is explained in this article.

        If you have any further questions, feel free to post them below.
        Thank you,

        -John-Paul

    • I’m in filezilla and need to know which file to upload my muse(local) file to.  I tried to upload it to public_html and it wasn’t quite right.  Any help?

      • Hello Fleur,

        When you are uploading a file to your account, the location you put the file in depends what you are trying to accomplish.

        I recommend reading our guide that explains what directory to put your files in.

        If you have any further questions, feel free to post them below.
        Thank you,

        -John-Paul

    Leave a Reply