How to upload a file using File Manager in cPanel

Sometimes it’s necessary to upload files to your cPanel account. This can be easily accomplished by using the File Manager within your cPanel account. If you are unfamiliar with File Manager in cPanel, please see our article on Using File Manager in cPanel.

In this example, we’re going to upload a test.html file to the public_html folder in File Manager. So when you visit the file through a web browser, you’d go to example.com/test.html. If you wanted to place the file in a subfolder called test, then to visit the file in a browser you’d go to example.com/test/test.html

Uploading a File using the cPanel File Manager

  1. Log into cPanel.
  2. On the home screen under the files section choose “File Manager“.
  3. file_mgr_1

  4. Click the Settings icon in your File Manager window.
  5. file_mgr_3

  6. Next, choose where you’d like to start in. For this example, we’re going to use the Web Root option – which is the public_html folder. Since we’re uploading to the public_html folder we do not need to navigate anywhere else.
  7. file_mgr_4

  8. Select “Upload” from the icons at the top.
  9. file_mgr_3

  10. Navigate to the file you want to upload on your local computer by selecting the “Choose File” button.
  11. file_mgr_4

  12. Select the file and click “Open“. Once the file is finished uploading you can click on the link in the cetner of the screen to retrun to the folder you uploaded the file to.
  13. file_mgr_5

  14. Now, in a web browser, we can visit the file and verify it uploaded to the location correctly.
  15. file_mgr_6

NOTE: For further assistance, InMotion’s Premier Support is dedicated to providing our customers with world class Technical Support. If you are a current customer, please feel free to contact our Support department.

Also, read more about all of cPanel’s email features here.

Thoughts on “How to upload a file using File Manager in cPanel

  • HiTeam,

     

    i have uploaded my html files in cpanel , but images and the refernce html floders are not showing while hosting it .

    is there any problem in referncing one html file other html??

    External assets may fail to load in browsers that block mixed (HTTP and HTTPS) content.

     

    this the error i get.

    • The error message is indicating that you have references in your code that are using http:// (without the “s”, secure protocol). When attempting to load your site over https://, you may see the “mixed content error” appear in the browser, if all your images are not coded to use https:// properly. You can learn more here and use this third party tool to help find these issues in your website. However, you will need to modify your website’s HTML to correct this.

  • Hi Sir..

    Iam uploading the java web Application on cpanel server(I am fowlling above your explied fweb aplication(uploading)steps).the html files are loaded .the user is not login the appliction ..the error is shown below 

     

    Not Found

    The requested URL /LoginServlet was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    Apache/2.4.39 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4 Server at apps.Sample.com Port 443
    • Without knowing exactly how your Java application works, we can only suggest there are files that were missing from the upload. That seems to be what the error indicates.

  • Hello..

    I made website in asp.net with vs 2013, but when i upload the files that is asp.net it does not work, if i upload html file it work.

    I try to put files in public_html folder, and in public_ftp folder, but it does not work.

    What can i do?

    Where i need to put files?

    Thank you..

    • Unfortunately, asp.net website files are only able to be run with Microsoft servers. These types of files will not work with a standard Linux server.

  • I was installing WordPress in C panel. But I cant upload the folders like wp_admin ..
    They are showing unknown error occurred and are you over qouta

     

    • If you’re uploading files manually, you’ll want to ensure the files you’re uploading from cPanel File Manager don’t exceed the Maximum file size allowed for upload per Step 6 or disk usage allotted to that cPanel account. You can check the disk usage from the side of the cPanel page or the cPanel section titled disk usage.

      We also cover the section in our bandwidth usage article.

      Please remember that you can also install WordPress via Softaculous.

  • hello goodness,

    when i clicked on ‘online file manager’ in cpanel i cant upload a json file. morover i cant see my files that i created in it at the instant after the creation. 

    • As a test, try using a different browser. Are you getting any error messages? If your problems persist, I recommend contacting our live support team so they can test your specific account.

      Thank you,
      John-Paul

  • please I wish to know ,after coding a website or say edited a website on notpad ,which file format do we use to save the file ?

    • The file format you use, depends on the coding language your site is built with.

      For instance, if you are using PHP scripts, then you would save the file with the .php file extension/format. Alternatively, if you built the website using HTML, you would save the file using the .html file extension/format.

      I hope this helps!

      Sincerely,
      Carlos D

  • Hi. How do you upload files on a linux server? I am running Windows and for some reason chose a linux package. I tried uploading the files to Public_html but nothing seems to work. I renamed my index file to Index.html, index.html, default.html, default.htm but nothing seems to work. Thank you in advance

    • You can aboslutely upload files to a linux server using windows. If you are hosted on our servers, the steps above will work. You can also use FTP to connect to the server and upload files. If you are not seeing the site immediately you may have to clear your browser cache, or test with a different browser.

      We are happy to help you troubleshoot further, but will need some additional information. What is the URL of your site for us to test?

      Thank you,
      John-Paul

  • I did all the steps from the instructions and then i extracted the zip file and when i went to the website where the files should show up and nothing is happening to my site it just keeps telling me to log in to my cpanel account to set up the site. Please help!

    • I’m sorry to see that your website is not loading as expected after you have unzipped the files. There are many factors that affect the functionality of your website. I am unable to diagnose why it is not loading with the details you have provided. However, you should check to make sure that your domain is pointed to the server you are uploading files to correctly. Additionally, you will need to know the correct file that is to be loaded and the directory in which the site is stored. If you are running a website that you created in a Content Management System (CMS), like WordPress, Joomla, etc, then you will need to ensure that the CMS is correctly configured for your website to load properly. There should not be a prompt to login to cPanel to load your website, as cPanel is accessed through an entirely different route compared to your website. I hope this helps!

  • Well, nice tutorial. I’m having a little problem, I have a zipped file to be uploaded to my website, I want it to show on a subdomain on m site, really, dn’t know how to go about this. Would you please help me out?

    • Hello,

      If you wanted the files to be on an subdomain you would need to create an subdomain inside your cPanel account and then in the file manager you would navigate to the folder you chose when creating the subdomain and upload the file there.

  • Once I’ve uploaded the picture how do I get the link to paste it into a template when I don’t want to use the existing image on the template?

    • If you uploaded the image: image.png to your main domain’s example.com home directory public_html, the image’s URL would be:

      example.com/image.png

      Otherwise, you simply append the file path public_html/website/images/uploads/image.png after public_html to the URL, like so:

      example.com/website/images/uploads/image.png

      Depending on how you are building your site, you would use that link to reference to the image uploaded. I hope this helps!

  • 1. Please, howdo I upload data file, engine, notes andimages folder to public_html?

    2. Where do I upload contact.php, contact sendmsil.php. verification.php?

    • Kenny,

      The article tells you how to upload files. If you want to upload folders it’s easier if you use an FTP client. The PHP files don’t have a concrete location – it depends on the application that is using those files.

      Regards,
      Arnel C.

  • I am very new to this job, i want to upolad dynamic website using filezilla. how i upload mysql data using filezilla?

    • Hello Aaliya,

      You can’t really upload the MySQL database directly to the MySQL server. You can upload the SQL file (if you have one) to the server for the import, but in general you can import a database using phpMyAdmin. The only limitation is that it applies to databases up to 50 MB in size. If it’s larger than that then you need to submit a ticket to have the database migrated. If you need to have support migrate it, make sure that you place the database file on the server or in a location where the file can be accessed.

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

      Kindest regards,
      Arnel C.

  • So I uploaded all of my files to the Web Root folder(public.html) but the website is still not updating the latest files.  It is still showing the old version of my webpage.  I recently transferred my domain to a different registrar and I had a cPanel account through them.  I just created a new account though and uploaded all different files under a new account.  Any idea what the issue might be?  How can I fix this??

    • Are you certain the domain is pointing to the new server? Are you using any sort of caching? Have you cleared your browser cache? All of these things can cause the issue you are experiencing. Let us know if you have tried all of these and are still having trouble.

Leave a Reply