cPanel’s File Manager provides you with an easy way to edit, upload, copy, remove and manage your web hosting files from your browser. This article will give a fundamental rundown of the methods that you can use to traverse through the file manager. Before continuing with this guide, you will want to access cPanel. If your are not sure how to do this, see How To Access cPanel
Begin by clicking the “File Manager” icon within the “Files” section of your cPanel.
The layout of the file manager is intuitive and looks familiar to most. On the left side, you’ve got a directory tree that enables you to easily access any folders rapidly. On the right hand side, is a directory that lists all files and folders which happen to be in inside the directory you’re presently in. To maneuver around, you may either click the folder in the directory tree, or double click the folder inside the directory listing on the right.
On the top of the directory tree, you see an area where you’re able to input the entire path to any directory you want to go to. You then have a group of controls that act like your internet browser, that affect your directory listing on the right. You’re able to go back, forward, up a directory, refresh your directory you’re in or visit the home directory.
Across the top of the file manager, are some symbols: (image for reference below)
1: New File – This will create a new, blank file.
2: New Folder – This can create a new directory.
3: Copy – This can copy any selected files/folders.
4: Move – This wil move any selected files/folders.
5: Upload – This is where you can upload files from your computer to your web hosting server.
6: Download – This downloads the selected files to your computer.
7: Delete – Removes any selected files/folders permanently
8: Restore – Restores selected files
9: Rename – This allows you to alter the name with a file or folder.
10: Edit – This can be a simple text editor which you can use to edit any file.
11: HTML Editor – A fundamental WYSIWYG editor. Enables straightforward html authoring.
12: Permissions – Enables you to manage the permissions associated with a file/folder.
13: View – Enables you to see a file as you’d view it on the internet. (Great for photos)
14: Extract – This can decompress a .zip, .tar, .tar.gz, etc.. file to the directory of the selecting.
15: Compress – Will compress selected files/folders into one zip, gzip or bzip file.
Managing Files And Folders In cPanel File Manager
You are able to manage files and/or folders within your file manager by simply right-clicking on them. When right-clicked on, available options will be displayed.
- Move – Select where you want the file or folder to be moved to by typing in the location
- Copy – Copy the current file or folder
- Rename – Rename the file or folder
- Change Permission – Set permissions for the specific file or folder (User, Group, World)
- Delete – Delete the current file or folder
- Compress – Compress the current file or folder
- Password Protect – Set a security password for the file or folder
- Leech Protect – Allows you to detect unusual levels of activity in password-restricted directorie
- Manage Indices – Manage the indexing of the file or folder (will redirect to cPanel Index Manager. The Index Manager allows you to customize the way a directory will be viewed on the web.)
- Download – Download the file or folder locally
- Edit – Edit the current code or text within the file
- View – View what is currently in the file
File Manager Tips
The public_html directory is your public folder, which is responsible for what is displayed when visiting your website. Prior to anything added within this file will display an “index of /” page which is completely normal.
As an example, we have created an index.html file within public_html. (ie public_html/index.html)
and edited the html within with a <h2> tag with Hello World
Now that we have created an index.html within public_html, “index of /” has disappeared and your domain shows “Hello World”.