HostGator.com » Support Portal

How to upload a file using the File Manager

You may want to upload your files directly through cPanel. You can do this through the File Manager.

Warning: There is a 500 MB upload limit through File Manager. If you need to upload a larger file, please use FTP.

Before you read, watch the movie tutorial instead.

To upload a file through File Manager, please do the following:

  1. Login to cPanel and click File Manager
  2. Choose to open Web Root and Show hidden files
  3. At the top, click Upload.
  4. Click the Browse button.
  5. Double click the file you want to upload to your site.
  6. Wait for the blue bar to complete, then go back to File Manager.

You have successfully uploaded a file to your site through file manager.

Once I upload a file, how will I know the URL?

So, you want to share the new web file with friends or the public. First you need to determine the path of the file.

  1. Login to FTP or File Manager and note the parent folder where your file is stored (normally public_html).
  2. Double click the folder icon to navigate inside public_html.
  3. If you see the file here, you are done. If you need to navigate inside more folders to find your file, note each folder. (Folder names are case-sensitive, so you must use the exact capitalization and spelling.)
  4. Once you locate your file, you should have noted the full path (a list of the folders you must go inside, respectively, to find that file).
  5. Now simply add the file name, exactly as it appears, to the end of the path. (File names are case-sensitive, so you must use the exact capitalization and spelling.)

    Here are some examples:
    public_html/My_Book.pdf
    public_html/images/banner25x120.JPG
    public_html/blog/includes/Movies/bigjump.avi

  6. Almost there! Now you just need to replace "public_html" with http and your primary domain name.

    Same examples:
    http://primarydomain.com/My_Book.pdf
    http://primarydomain.com/images/banner25x120.JPG
    http://primarydomain.com/blog/includes/Movies/bigjump.avi

  7. Try to browse these URL's and you will see the file you uploaded.

This can even be done for addon and subdomains. Just replace the public_html/subfolder/ part with the addon or subdomain name.

Let's pretend my addon domain is myblogdomain.com. Let's pretend the document root for that domain is my blog subfolder (inside public_html of course).

A path like public_html/blog/includes/Movies/bigjump.avi would become http://myblogdomain.com/includes/Movies/bigjump.avi


Article Comments

todd scully
I followed these steps but the file does not appear on my wordpress site???

HostGator
Although the images will appear on your domain, the images will NOT magically appear on your web site.

You need to use the WordPress backend (wp-admin) to add images and publish them on your blog.

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment