Using File Manager
Learn how to use cPanel File Manager to upload, edit, and manage your website files.
Managing Your Website Files
cPanel File Manager is a web-based file management tool that lets you upload, edit, and organize your website files without FTP software.
Accessing File Manager
- Log in to cPanel
- Scroll to "Files" section
- Click "File Manager"
Understanding Directory Structure
Key Folders:
- public_html/: Your main website files (most important)
- mail/: Email data
- logs/: Access and error logs
- tmp/: Temporary files
- .htaccess: Server configuration (hidden file)
Inside public_html:
- index.html/index.php: Homepage file
- wp-content/: WordPress themes, plugins, uploads
- images/: Image files
- css/: Stylesheets
- js/: JavaScript files
Common Tasks
Uploading Files
- Navigate to public_html folder
- Click "Upload" button
- Click "Select File" or drag files
- Wait for upload to complete
- Click "Go Back" when done
Upload Limits:
- Maximum file size: 512 MB per file
- For larger files, use FTP
- Supports multiple simultaneous uploads
Creating Files/Folders
New Folder:
- Click "+ Folder" button
- Enter folder name
- Click "Create New Folder"
New File:
- Click "+ File" button
- Enter file name (include extension: .html, .php)
- Click "Create New File"
Editing Files
- Right-click on the file
- Select "Edit" or "Code Edit"
- Make your changes
- Click "Save Changes"
- Click "Close"
Editor Types:
- Edit: Simple text editor
- Code Editor: Syntax highlighting for code
- HTML Editor: Visual HTML editing
Downloading Files
Single File:
- Right-click on file
- Select "Download"
- File saves to your computer
Multiple Files:
- Select files/folders (Ctrl+Click)
- Click "Compress"
- Choose ZIP format
- Download the ZIP file
Deleting Files
- Select file(s) or folder(s)
- Click "Delete"
- Confirm deletion
- Warning: Cannot be undone!
Moving/Copying Files
Move:
- Select file(s)
- Click "Move"
- Enter destination path
- Click "Move File(s)"
Copy:
- Select file(s)
- Click "Copy"
- Enter destination path
- Click "Copy File(s)"
File Permissions
- Right-click on file
- Select "Change Permissions"
- Check appropriate boxes or enter numeric value
- Click "Change Permissions"
Common Permissions:
- 644: Files (readable by all, writable by owner)
- 755: Folders and executable files
- 600: Sensitive files (like wp-config.php)
- 444: Read-only files
Extract Archive Files
- Upload ZIP file to public_html
- Right-click on ZIP file
- Select "Extract"
- Choose extract location
- Click "Extract File(s)"
- Delete ZIP file after extraction
Search for Files
- Click "Search" button
- Enter search criteria
- Select where to search
- Click "Search"
Tips & Best Practices
- Show Hidden Files: Settings → Show Hidden Files (dotfiles)
- Backup Before Editing: Always backup files before making changes
- Use Code Editor: Better for editing code with syntax highlighting
- Check File Sizes: Monitor disk usage regularly
- Organize Files: Keep files organized in folders
- Delete Unused Files: Remove old backups and unused themes/plugins
- Be Careful with .htaccess: Small errors can break your site
Keyboard Shortcuts
- Ctrl+A: Select all
- Ctrl+Click: Select multiple files
- Shift+Click: Select range
- Delete key: Delete selected
Troubleshooting
Can't Upload Files?
- Check disk quota in cPanel
- Verify file size under 512 MB
- Clear browser cache and try again
- Use FTP for large files
Can't Edit File?
- Check file permissions
- Ensure file isn't locked
- Try different editor (Edit vs Code Editor)
Uploaded File Not Showing?
- Refresh File Manager (F5)
- Check you're in correct directory
- Verify upload completed successfully
Important: Always backup your files before making significant changes!