The cPanel File Manager is a cPanel tool that lets you manage the files in your hosting account directly from the browser, without installing an FTP program. You can upload and download files, create folders, edit files, change permissions (CHMOD) and create and extract zip archives. To open it, log in to cPanel and click the Files > File Manager icon.
The File Manager Interface
- Left pane: The folder tree of your account.
- Right pane: The files in the selected folder, with name, size, modification date and permissions.
- Top toolbar: + File, + Folder, Copy, Move, Upload, Download, Delete, Restore, Rename, Edit, Permissions, View, Extract, Compress.
The files your website shows to visitors are usually in the public_html folder for the main domain. For addon domains, the folder is the document root set for that domain in cPanel.
Basic Operations
| Task | How to do it |
|---|---|
| Upload files | Open the target folder, click Upload and drag and drop or select the files. You cannot upload a folder as such: create the folder first, or zip the folder and upload the archive. |
| Download files | Select the file and click Download, or right-click and choose Download. To download a folder, compress it first. |
| New file / folder | Click + File or + Folder, give it a name and create it. |
| Copy / move | Select the item, click Copy or Move and type the destination path (for example /public_html/backup). |
| Rename | Right-click and choose Rename. |
| Edit | Select a text file (.php, .html, .htaccess) and click Edit. According to the cPanel documentation, files larger than 1 MB do not open in the editor. Make a copy of the file before editing. |
Extracting and Compressing Zip Files
- Upload the archive (for example site.zip) to the target folder.
- Right-click the file, choose Extract and confirm the extraction path.
- To compress, select files or folders, click Compress and choose the format and archive name.
According to the cPanel documentation, the File Manager works with .zip, .gz and .bz2 archives; zip support requires the PHP Zip extension to be installed on the server. If a zip will not extract, you can ask your hosting provider for this extension.
How to Change File Permissions (CHMOD)
Select the file or folder and click Permissions; set the permissions with the checkboxes or enter them as a number. Commonly used values on shared hosting:
| Value | Meaning | Where |
|---|---|---|
| 644 | Owner reads/writes, others read only | Files (cPanel’s default is 0644) |
| 755 | Owner reads/writes/executes, others read/execute | Folders |
| 600 / 640 | More restricted reading | Sensitive configuration files such as wp-config.php (if your server supports it) |
| 777 | Everyone can write | Do not use it; it is a security risk |
Showing Hidden Files (.htaccess)
Files that start with a dot, such as .htaccess or .user.ini, may not be visible by default. Click Settings in the top right and tick Show Hidden Files (dotfiles). In the same window you can also choose which folder the File Manager opens in (the home directory or public_html).
Restoring a Deleted File from the Trash
Items deleted in the File Manager do not disappear immediately; they are moved to the Trash. To get them back, open View Trash, select the item and click Restore. Empty Trash deletes the contents permanently. Files in the trash still count towards your disk quota.
File Manager or FTP?
For editing a few files, extracting a zip or changing permissions, the File Manager is the fastest way. For transferring many files and large folders, an FTP/SFTP client such as FileZilla is more suitable. To get to know the panel in general, see our guide how to use cPanel, and for choosing a panel, our cPanel and Plesk comparison.
For hosting with cPanel ready to use, take a look at our cPanel hosting plans, and for a cPanel licence for your own server, our licence services page.
Frequently Asked Questions
The cPanel File Manager will not open; what should I do?
Clear your browser cache and try a different browser, and temporarily turn off browser extensions (especially ad blockers). If the problem continues, the account’s disk quota may be full; check disk usage on the cPanel home page or contact your hosting provider.
Can large files be uploaded through the File Manager?
The upload limit depends on the hosting provider’s settings. If very large files are interrupted, upload them with FTP/SFTP or use archives split into parts.
Categories
-
CentOS 7 guides
-
cPanel 20 guides
-
CyberPanel 18 guides
-
Operating Systems 81 guides
-
Juniper Networks 18 guides
-
Control Panels 50 guides
-
Linux 17 guides
-
MySQL 29 guides
-
Network 95 guides
-
Plesk Panel 12 guides
-
Virtual Servers 273 guides
-
SEO 3 guides
-
Cyber Security 8 guides
-
Technology 162 guides
-
VMware 36 guides
-
WordPress 20 guides
-
Artificial Intelligence 22 guides