Tips & Tricks

How to Use the cPanel File Manager to Manage Your Website Files

by dotCanada Team
How to Use the cPanel File Manager to Manage Your Website Files

When you need to make a quick change to a file, upload an image, or troubleshoot a problem on your website, reaching for an FTP client feels like overkill. The cPanel File Manager gives you direct access to all your hosting files right from your browser - no software to install and no additional credentials to configure.

Accessing File Manager in cPanel

Log in to your cPanel account at your hosting dashboard. Look for the File Manager icon in the Files section and click it to launch it in a new browser tab.

When File Manager opens, you will be placed at the root of your hosting account by default. You can configure it to open directly in public_html instead, which saves a click every time - look for the Settings button in the top right of the File Manager to set your default directory.

Navigating the Directory Structure

Your hosting account contains several directories, but the one you will work in most is public_html. This is the web root - any files placed here are accessible via your domain name.

Key locations within public_html for a WordPress site:

  • public_html/wp-content/themes/ - your installed themes
  • public_html/wp-content/plugins/ - your installed plugins
  • public_html/wp-content/uploads/ - media files uploaded through WordPress
  • public_html/wp-config.php - core WordPress configuration file

The left panel shows a tree view of your directory structure. Click any folder to expand it, or double-click in the main pane to navigate into a folder.

Uploading Files

To upload files, navigate to the destination folder and click the Upload button in the toolbar. A file upload panel opens where you can drag and drop files from your computer or use the traditional file browser.

For uploading large numbers of files or entire folders, FTP is more efficient. But for uploading a single plugin zip file, a custom font, or replacing a logo image, the File Manager upload is perfectly convenient.

Editing Files Directly

One of the most useful features of File Manager is the built-in code editor. Right-click any file and select Edit (for text-based files like PHP, HTML, CSS, and JavaScript) to open a basic code editor directly in your browser.

This is handy for quick fixes - editing a CSS file to tweak a colour, adjusting a configuration value in wp-config.php, or reviewing a PHP file for a reported error.

For larger editing sessions, a dedicated code editor like VS Code connected via SFTP/FTP is more comfortable. But for quick one-line changes, the built-in editor does the job without any setup.

Creating and Deleting Folders

To create a new folder, navigate to the parent directory and click New Folder in the toolbar. Enter the folder name and confirm.

To delete a file or folder, select it and click Delete (or right-click and choose Delete). Check the option to Skip the trash and permanently delete if you want to remove it immediately rather than moving it to a temporary trash folder.

Be careful when deleting - there is no undo for permanent deletions.

Setting File Permissions

Linux file permissions control who can read, write, and execute files. Incorrect permissions are a common cause of WordPress errors and a potential security risk.

Standard permissions for most website files:

  • Files: 644 (owner can read/write, others can read)
  • Folders: 755 (owner can read/write/execute, others can read/execute)

To change permissions, right-click a file or folder and select Change Permissions (or Permissions on some cPanel versions). You can enter the numeric value or use the checkboxes.

Avoid setting files to 777 (world-writable) - this is a significant security risk.

Extracting Zip Archives

If you upload a zip archive (for example, a plugin or theme you downloaded), you do not need to extract it on your computer first. Right-click the zip file in File Manager and select Extract to decompress it directly on the server.

This is particularly useful for large archives, as extracting server-side is much faster than uploading thousands of individual files.

When to Use FTP Instead

File Manager is great for quick tasks, but consider using an FTP client (like FileZilla or Cyberduck) when:

  • You need to upload or download large numbers of files
  • You are doing a full site backup or migration
  • You need a more responsive interface for heavy file management
  • You are working with binary files where browser-based tools can be unreliable

For most day-to-day tasks, though, File Manager is entirely sufficient and far more convenient.

100% Satisfaction Guarantee

We're so confident you'll love dotCanada that we offer a 30-day money-back guarantee. Not satisfied? Get a full refund, no questions asked.

Ready to Get Started?

Join thousands of Canadian website owners who trust dotCanada for reliable, fast web hosting.

Get Started Today