How to Use File Manager in cPanel
The cPanel File Manager is a powerful tool that allows you to manage your website's files directly from your web browser, without needing to use an FTP client. In this guide, we will show you how to use the File Manager effectively.
Accessing the File Manager
To access the File Manager, log in to your cPanel account and click on the File Manager icon under the Files section.
Understanding the Interface
The File Manager interface is divided into several sections:
- Left Pane: Displays the directory tree of your hosting account.
- Right Pane: Displays the files and folders inside the currently selected directory.
- Top Toolbar: Contains action buttons like New File, New Folder, Upload, Download, Delete, Edit, and Extract.
Important Directories
When you open the File Manager, you will see several folders. The most important one is public_html. This is the web root directory. Any files or folders placed inside public_html will be publicly accessible on the internet via your domain name.
Common Tasks in File Manager
1. Uploading Files
To upload files to your website:
- Navigate to the folder where you want to upload the file (usually
public_html). - Click the Upload button in the top toolbar.
- A new tab will open. Click Select File and choose the file from your computer.
2. Creating New Files or Folders
To create a new file or folder, navigate to the desired location and click the + File or + Folder button in the top toolbar. Enter the name and click Create.
3. Editing Files
You can edit text-based files (like HTML, PHP, or CSS) directly in the File Manager:
- Select the file you want to edit.
- Click the Edit button in the top toolbar.
- Make your changes in the editor and click Save Changes.
4. Extracting ZIP Files
If you uploaded a ZIP archive, you can easily extract it:
- Select the ZIP file.
- Click the Extract button in the top toolbar.
- Choose the destination path and click Extract File(s).
The File Manager is an essential tool for managing your website. If you accidentally delete an important file, don't panic! Contact our support team to see if it can be restored from our regular backups.