How to Use File Manager in cPanel
Last Updated: March 2026
3 min read
How to Use File Manager in cPanel
cPanel’s File Manager is a web-based tool for managing your hosting files directly from your browser — no FTP client required. It supports uploading, editing, moving, copying, and managing file permissions.
Accessing File Manager
- Log into cPanel.
- Navigate to Files > File Manager.
- The File Manager opens showing your home directory.
Tip: Click Settings (top right) to configure:
- Default document root: Choose which directory to open by default.
- Show Hidden Files: Enable this to see files starting with
.(like.htaccess).
Navigating the Interface
- Left sidebar: Directory tree for quick navigation.
- Main area: Files and folders in the current directory.
- Toolbar: Action buttons (Upload, Download, Delete, Copy, Move, etc.).
- Path bar: Shows your current location. Click any part to navigate back.
Key Directory Locations
| Directory | Purpose |
|---|---|
public_html | Your primary website’s document root |
public_html/subdomain | Subdomain document roots |
public_html/addon.com | Addon domain document roots |
mail | Email data storage |
logs | Server access and error logs |
tmp | Temporary files |
.trash | Deleted files (recoverable) |
Common Tasks
Uploading Files
- Navigate to the destination directory.
- Click Upload in the toolbar.
- Drag and drop files or click Select File to browse.
- Files upload automatically.
- Click the back link to return to File Manager.
Tip for large uploads: Upload a .zip file and extract it in File Manager to save time.
Creating Files and Folders
- New File: Click + File in the toolbar, enter a name, and click Create New File.
- New Folder: Click + Folder in the toolbar, enter a name, and click Create New Folder.
Editing Files
- Select the file.
- Click Edit in the toolbar (or right-click > Edit).
- Make your changes in the code editor.
- Click Save Changes.
The editor supports syntax highlighting for PHP, HTML, CSS, JavaScript, and other common formats.
Moving and Copying Files
- Move: Select files, click Move, enter the destination path.
- Copy: Select files, click Copy, enter the destination path.
- Right-click for context menu options.
Deleting Files
- Select the file(s) or folder(s).
- Click Delete in the toolbar.
- Choose whether to skip the trash (permanent delete) or send to trash.
Recovering deleted files: Navigate to .trash in your home directory to find and restore deleted items.
Compressing and Extracting
- Compress: Select files/folders, click Compress, choose format (zip, tar, gzip), and click Compress Files.
- Extract: Select an archive file, click Extract, choose the destination, and click Extract Files.
Changing Permissions
- Select the file or directory.
- Click Permissions in the toolbar.
- Set permissions using checkboxes or enter a numeric value (e.g., 755, 644).
- Click Change Permissions.
Working with Hidden Files
By default, files starting with . (like .htaccess, .env) are hidden. To show them:
- Click Settings in the top right.
- Check Show Hidden Files (dotfiles).
- Click Save.
Search Feature
Use the Search button in the toolbar to find files:
- Click Search.
- Choose the directory to search in.
- Enter the filename (or part of it).
- Click Go to search.
Tips
- Use File Manager for quick edits; use FTP/SFTP for bulk file transfers.
- Always back up files before editing them.
- The code editor is great for quick fixes to PHP, HTML, and configuration files.
- Use Extract to upload and unpack large websites quickly.
For File Manager assistance, contact 10Corp support.
Tags:
hosting
cpanel
file-manager
files
upload