HostGator.com » Support Portal

How to Upload a File using the File Manager

You can upload your files directly through cPanel using the File Manager. File Manager is a web interface that allows you to manage all files associated with your account.

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

This following video demonstrates some common tasks that can be accomplished with File Manager, including uploading, renaming and deleting files.

cPanel's File Manager may look slightly different depending on which version of cPanel your server is running, however, the functionality described in the video is the same.

How to Upload a File Using File Manager

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

  1. Login to cPanel.
  2. Under Files, click File Manager.
  3. Select Web Root and Show Hidden Files, then click Go.
  4. Click to open the folder to which you'd like to upload files.
  5. Click Upload from the top toolbar.
  6. Click Browse (some web browsers will have Choose File instead).
  7. Select the file on your computer that you wish to upload.
  8. Once the file has been selected, it will automatically upload. You may select additional files while uploads are in progress.

Finding the URL of a File

If you want to share a new web file with friends or the public, you must first determine the path of the file.

  1. Log into 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.)
    For example:
    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.
    For example:
    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 URLs and you will see the files you uploaded.

Addon and Subdomains

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

For the addon domain myblogdomain.com with the document root in the blog subfolder (inside public_html). A path like public_html/blog/includes/Movies/bigjump.avi would become:

http://myblogdomain.com/includes/Movies/bigjump.avi

cPanelcPanel is a popular web hosting control panel that helps you manage your hosting account and assists you in creating web sites, managing e-mail addresses, & installing applications to a server.

cPanel is available on all HostGator Linux hosting plans, including Shared Hosting, Reseller Hosting, VPS and Linux Dedicated Servers.

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