Docs Home Return to Homepage
Get Started Login

How to Use cPanel File Manager to Upload, Extract and Manage Files

Last updated Changelog

On this page

File Manager lets you work with your website’s files in your browser, with no FTP app needed. Your main website lives in the public_html folder. In this example we’ll upload a zip file, extract it on the server (much quicker than uploading many files one by one), and check its permissions.

Upload a file

  1. Log in to cPanel. In the Files section, click File Manager.

    The cPanel Files section with File Manager highlighted

  2. Open public_html from the folder list on the left (or the folder you want), then click Upload in the toolbar.

    File Manager showing public_html with the folder and the Upload button highlighted

  3. A new tab opens. Drag your file into the box, or click Select File. Tick Overwrite existing files if you’re replacing something. The bar turns green and shows 100% when it’s done. Then click Go Back to “/home/yourusername/public_html”.

    The File Upload page showing welcome.zip uploaded at 100%

Extract a zip file

  1. Back in File Manager (click Reload if you can’t see your file yet), click the zip file to select it, then click Extract in the toolbar.

    welcome.zip selected in the file list with the Extract button highlighted

  2. Check the folder to extract into (it suggests the current one) and click Extract Files.

    The Extract box showing /public_html as the destination, with Extract Files highlighted

  3. Close the results box. The extracted files now appear in the list. In our test, welcome.html was live at https://yourdomain.com/welcome.html straight away.

    The file list with the extracted welcome.html highlighted

Tip: Once the files are extracted, you can delete the zip file to save space. Select it and click Delete.

Check or change permissions

  1. Select a file and click Permissions to see who can read, write and run it. For most websites, files should be 644 and folders 755. Don’t change these unless an app’s instructions tell you to.

    The Change Permissions box for welcome.html showing 644

Other things you can do

Button What it does
+ File / + Folder Create a new empty file or folder
Edit Open a text file (HTML, PHP, CSS) in the built-in editor
Download Save a file to your computer
Compress Zip up selected files, for example before downloading lots of them
Rename / Move / Copy Organise files and folders
Delete Move items to the trash. Use View Trash to restore them, or Empty Trash to delete them for good.

Troubleshooting

Problem What to do
My uploaded page shows “403 Forbidden” Check its permissions are 644, and 755 for folders.
I can’t see files starting with a dot, like .htaccess Click Settings (top right) and tick Show Hidden Files (dotfiles).
The upload is very slow or fails Zip the files first, upload one zip, then extract it here. For very large sites, use FTP.
I deleted something by mistake Open View Trash and restore it. If the trash has been emptied, restore it from a backup.

Snagged on something? Contact support and we’ll get you sorted.

Snagged on something?

Our sysadmins answer tickets around the clock.