What is File Manager?
The File Manager allows you to manage your site through HTML, rather than an FTP tool or other third-party application, while logged into your cPanel account. You can upload, create or delete files, organize files in folders, and change file permissions. While not as sophisticated as most FTP tools, File Manager is free and gives you all the basic functionality necessary to manage your site.
Note: the directions in this article assume you are already in cPanel's File Manager.
To open and navigate within File Manager:
- Click File Manager from your cPanel dashboard
- Navigate by using the following:
- Open a folder by clicking on the folder icon
- Go up a level by clicking on the Up one level link
- Use the path links at the top of the window to move up and down the path
- Select a folder, so as to view or modify its properties, by clicking on the folder name link
Delete a File or Folder
cPanel includes a Trash folder, which operates the same way as a computer's recycle bin. All deleted files are automatically placed in the Trash folder and can be restored to their original positions by a simple click. However, once you empty the Trash folder, the files are permanently deleted.
To delete a file or folder:
- Navigate to the file(s) or folder(s) that you want to delete
- Click the name of the file or folder to display the item's properties in the top-right corner of your window
- Click the Delete File link
- The deleted file or folder is now displayed in the Trash area
Edit a File
Editing a pre-existing file through File Manager allows you to make immediate changes to your website, without having to upload a new version of the file. This is useful for small changes, but would be inefficient for large alterations.
To edit a file:
- Navigate to the folder where the file is located
- Click on the name of the file
- Click on the Edit File link in the top-right corner of your window to open a new window with the contents of the file displayed
Note: clicking on the Show File link will display the contents of the file. However, you will not be able to make any changes to the file.
- Alter the text of the file as you wish
- Click on the Save button when you have finished altering the file
The file has been saved and any changes will take effect from now on.
Rename a File or Folder
You can quickly rename a file or folder if you originally labeled a file or folder with the wrong name, or if the name needs to be updated. This is useful if a small number of files need to be changed, since you do not need to upload any files for the changes to take effect, but inefficient if you needed to rename your entire site.
To rename a file or folder:
- Navigate to the file or folder
- Click on the Rename File link in the top right corner of your window
- Enter the new name for the file or folder in the text field; you need to enter an extension if it is a file, such as .html for HTML files
- Click the Rename button
The file name has now been changed and the display updated to show the modified file.
You can use File Manager to upload files to your web site, up to 12 files in one go. A third-party FTP client has many more features and does not limit you to the number of files you can upload at one time.
To upload files in File Manager:
- Navigate to the folder where you want to upload your files
- Click the Upload file(s) link
- Click the Browse... button next to one of the top fields
- Search for and double-click on the first file to upload
- Repeat the above steps for each file you want to upload
- Click on the Overwrite existing files tick box if you want to overwrite existing files of the same name
- Click on the Upload button when you have finished selecting files
The status of the upload will appear in the top-right corner of your window. The contents of the folder is displayed in the main area, including your uploaded files.
See the rest of our cPanel articles for more cPanel tutorials and how-tos.