Knowledgebase Article
Managing Files via cPanel File Manager
What File Manager Does
File Manager is cPanel's built in tool for uploading, editing, organizing, and managing your website's files directly through your browser, without needing a separate FTP application. If you have not yet read cPanel Basics: First Login Walkthrough, it covers how to reach File Manager from your main cPanel dashboard.
Understanding the Folder Structure
Most websites are stored inside a folder called public_html, which represents the root of your website as visitors see it. Files placed directly inside public_html are accessible at your main domain, while subfolders correspond to subdirectories on your site.
If you host multiple domains or subdomains on the same account, each may have its own dedicated folder, so it is worth confirming which folder corresponds to which domain before uploading files.
Uploading Files
Navigate to the correct folder for your website, then use the Upload option, typically found in the top toolbar. You can select multiple files at once, and File Manager will show upload progress for each. For larger sites with many files, uploading a compressed zip file and extracting it directly within File Manager is often faster than uploading individual files one at a time.
Editing Files Directly
File Manager includes a built in code editor, allowing you to make quick edits to files like configuration files or simple HTML pages without downloading them first. Right click any editable file and look for an Edit or Code Editor option. For substantial changes, it is generally safer to edit files locally and re upload them, keeping a backup of the original in case something needs to be reverted.
Setting File Permissions
Occasionally, an application will require specific file permissions to function correctly, commonly referenced as numeric values such as 644 for files or 755 for folders. File Manager allows you to change these through a Permissions option, usually accessible via right click on the file or folder in question. Avoid setting permissions more permissive than necessary, since overly open permissions can create security risks.
Compressing and Extracting Files
File Manager supports both compressing files into a zip archive and extracting an uploaded zip archive directly on the server. This is particularly useful when migrating a website, since uploading one compressed file is typically much faster than many individual files.
Common Issues
If an uploaded file does not appear where expected, confirm you uploaded it into the correct domain's folder rather than a different domain or subdomain folder on the same account. If a website shows a permissions error after uploading, review the file and folder permissions as described above.