The cPanel File Manager allows you to manage your website's files directly through your web browser, removing the need for a separate FTP application. This guide outlines how to execute essential file management tasks safely.
Step 1: Accessing the Public Directory File Area
- Log into cPanel.
- Locate the Files tray section and select File Manager.
- On the left navigation column panel tree, double-click the directory named public_html. This is the root folder where all public website documents must reside.
Step 2: Uploading and Extracting Files
- To upload files, click the Upload icon located in the top menu bar. Choose your files on the transfer card panel.
- If you are moving multiple items or web directories, compress them into a
.ziparchive on your machine before uploading. - Once uploaded, select the newly uploaded file inside File Manager and click the Extract icon in the top toolbar to unpack your files into the target folder layout.
Step 3: Revealing Hidden Tracking Configuration Records (e.g., .htaccess)
Important system records like .htaccess or configuration files are hidden by default in Linux environments.
- Click the Settings button situated in the top right corner of the File Manager screen.
- Check the option box for Show Hidden Files (dotfiles).
- Click Save.
Step 4: Changing File Permissions
Incorrect security settings can leave your site vulnerable or cause script errors. To change file permissions:
- Right-click your chosen target file and select Change Permissions.
- Configure standard web application permissions:
- 644: Standard setting for regular website documents.
- 755: Standard setting for directories, folders, and executable background processes.
- Click Change Permissions.