How to Use File Manager in cPanel
cPanel's File Manager is a web-based tool for managing your website files directly in the browser. No FTP client needed.
Accessing File Manager
- Log in to cPanel.
- Under Files, click File Manager.
- You can configure the starting directory:
- Web Root (public_html) — most common.
- Home Directory — see all account files.
- Document Root for your domain — specific domain.
[screenshot: File Manager initial view showing public_html]
Interface Layout
- Left Panel: Directory tree for navigation.
- Center Panel: File and folder listing for the current directory.
- Top Toolbar: Action buttons (upload, create, delete, etc.).
Common Operations
Upload Files
- Navigate to the target directory.
- Click Upload in the toolbar.
- Drag and drop files or click Select File.
- Wait for upload to complete.
- Click Go Back to return to File Manager.
Create a New File
- Click + File in the toolbar.
- Enter the filename (e.g., `
robots.txt`). - Click Create New File.
Create a New Folder
- Click + Folder in the toolbar.
- Enter the folder name.
- Click Create New Folder.
Edit a File
- Select the file.
- Click Edit in the toolbar (or right-click > Edit).
- Choose the code editor.
- Make your changes.
- Click Save Changes.
Tip: The built-in code editor supports syntax highlighting for PHP, HTML, CSS, JavaScript, and other languages.
Delete Files/Folders
- Select the items.
- Click Delete in the toolbar.
- Optionally check Skip the trash and permanently delete.
- Click Confirm.
Compress Files
- Select files/folders to compress.
- Click Compress in the toolbar.
- Choose format: ZIP, GZ, or BZ2.
- Enter archive name.
- Click Compress File(s).
Extract Archives
- Select the archive file (.zip, .tar.gz).
- Click Extract in the toolbar.
- Choose the destination directory.
- Click Extract File(s).
Copy/Move Files
- Select the files.
- Click Copy or Move.
- Enter the destination path.
- Click Copy or Move File(s).
Permissions (chmod)
- Select a file or folder.
- Click Permissions in the toolbar (or right-click > Change Permissions).
- Set the numeric permission (e.g., 644 for files, 755 for folders).
- Click Change Permissions.
Common Permissions
| Type | Permission | Meaning |
|---|---|---|
| Files | 644 | Owner read/write, others read |
| Folders | 755 | Owner full, others read/execute |
| Scripts | 755 | Executable by all |
| Config files | 600 | Owner only |
Warning: Never set permissions to 777 (world-writable). This is a major security risk.
Viewing Hidden Files
Hidden files (starting with `.) like .htaccess` are not shown by default:
- Click Settings in the top-right of File Manager.
- Check Show Hidden Files (dotfiles).
- Click Save.
Related Articles
Need help? Contact our support team at {{SUPPORT_URL}}/client/support.