cPanel’s File Manager is the browser-based interface for every file in your account — uploads, edits, permissions, archives, ownership. For occasional fixes it’s the fastest way in; for heavy file work, knowing its keyboard shortcuts and the right view mode separates “tedious” from “efficient”. This guide covers the operations you’ll actually use.
Opening File Manager
cPanel → Files → File Manager. Lands you in your home directory by default (/home/youruser/). The folder you’ll touch most often is public_html — that’s where your website lives.
Layout: tree pane on the left, file list on the right, toolbar at top, breadcrumbs above the list. The toolbar has the actions; the right-click context menu duplicates most of them.
Showing hidden files
Files starting with a dot (.htaccess, .env, .user.ini) are hidden by default. You’ll absolutely need to see .htaccess for any redirect work.
- Top-right of File Manager → Settings.
- Check Show Hidden Files (dotfiles).
- Save.
Toggle stays on for future sessions. Most users turn this on once and leave it.
Uploading files
- Single or few files: click Upload in toolbar → drag files in or click to browse.
- Many files / whole site: zip locally, upload the zip, then right-click → Extract. Dramatically faster than uploading each file.
- Large files (>50 MB): use FTP/SFTP instead — File Manager has upload size limits, FTP doesn’t.
The upload screen stays open until you navigate away — you can drop multiple batches in succession.
Editing files
Select a text file → Edit in toolbar (or right-click → Edit). Modern cPanel opens the file in a code editor with syntax highlighting for PHP, HTML, CSS, JS, Markdown.
Two editor options:
- Editor — basic plain-text editor. Fast, lightweight.
- Code Editor — syntax highlighting, line numbers, search/replace. Use this for anything more than a one-line fix.
For binary files (images, archives, fonts), no inline editing — download, edit locally, re-upload.
The “copy before editing” habit
For any risky edit (especially .htaccess, wp-config.php, theme files), make a backup copy first:
- Right-click the file → Copy.
- Destination: same folder, new name like
.htaccess.backuporwp-config.php.bak. - Now edit the original.
- If something breaks, rename your backup back to the original name.
Five-second insurance against the most common form of self-inflicted damage.
Compressing and extracting
- Compress: select files → toolbar Compress → choose format (zip recommended for Windows interop, tar.gz for Linux-native).
- Extract: right-click archive → Extract → choose destination → Extract.
Extraction is server-side and fast — even multi-gigabyte archives extract in seconds.
Permissions (chmod)
Right-click file → Change Permissions. Either enter a numeric value (644, 755) or tick the read/write/execute boxes.
The defaults that work for everything:
- Files: 644 — owner can read/write, others can read.
- Folders: 755 — owner full, others can enter and read.
- Sensitive configs (wp-config.php, .env): 600 — only owner readable.
Never use 666 or 777 — those are world-writable and are how malware gets uploaded by exploits.
To bulk-fix a messed-up permission state across public_html, SSH is easier than File Manager. From an SSH session:
find ~/public_html -type d -exec chmod 755 {} ;
find ~/public_html -type f -exec chmod 644 {} ;
Then individually set 600 on sensitive files like wp-config.php.
Search
Top-right of File Manager → search box. Searches filenames in the current folder by default; dropdown lets you search the whole account.
Search is name-only. For content search (“which file contains this text?”), you’ll need SSH:
grep -r "search text" ~/public_html/
Selecting multiple files
- Click + Shift+click — range select.
- Ctrl+click (Cmd on Mac) — toggle individual items.
- Select All button in toolbar.
Then toolbar actions (Delete, Move, Compress) apply to all selected.
Moving and copying
- Move: select → toolbar Move → type destination path or browse. Or drag and drop in the tree view.
- Copy: same workflow, toolbar Copy.
Move = no copy left behind. Copy = duplicate. The destination path is relative to your home directory unless you start with /.
Downloading files
- Single file: select → Download in toolbar.
- Multiple files or folders: select → Compress first → Download the resulting archive.
cPanel doesn’t support “download folder as zip” in one click — compress first, then download.
Common File Manager issues
“File Manager won’t load / spins forever.” Browser extension blocking, or cookies issue. Try incognito window. Persistent loading issues — check if you’re on a slow connection (File Manager is fairly chatty).
“I deleted a file by accident.” If “Skip Trash” wasn’t checked, the file is in your trash folder — go look. If it was skipped, restore from JetBackup. Restore guide.
“Can’t see my domain folder.” You’re in the wrong directory. Click Home in the breadcrumbs, then into public_html. Addon domain files live in public_html/addondomain.com/ or a custom path you set.
“Upload says ‘failed’ for large files.” File exceeds the upload size limit. Use FTP/SFTP for large files — no limit there.
“Edit shows different content than what’s served at the URL.” Caching. LiteSpeed cache, browser cache, or Cloudflare cache all possible. Purge at the appropriate layer.
When to use FTP/SFTP instead
- Frequent uploads / downloads (FileZilla is faster than File Manager).
- Files larger than ~100 MB.
- Whole-site sync with local drag-and-drop.
- Automation (rsync, git-ftp, scripted deployments).
For occasional fixes, content management, single-file work: File Manager. For volume: FTP. See FTP/SFTP setup guide.
What’s next
- FTP/SFTP for heavier workflows: FTP setup guide.
- The .htaccess file specifically: .htaccess essentials.
- Permissions explained in depth: File permissions guide.
File Manager handles 90% of file work without needing FTP or SSH. Master “show hidden files”, “copy before editing”, and 644/755 permissions — those three habits prevent most of the file-related issues that send people to support.
Was this helpful?
Thanks for your feedback!