There are different ways to manage the files on your web server such as SSH, FTP and File Manager. In this post I will discuss how to access the File Manager and manage files through it.
Access and navigate File Manager
- Login to cPanel and search for ‘File’ in the top search panel and click on the ‘File Manager’ icon
- You will be redirected to a page with all the Files associated with your account. This includes your emails, website files, and temporary files etc
- The files for your website or any file associated with the account that can be accessed by your visitors need to be stored inside the folder called ‘public_html’ (the folder with ‘globe’ icon)
- Single click on a folder/ file name would select it.
- Single click on the folder/file name that has already been selected will allow you to rename the folder/file. If you accidentally managed to access this option, you can click anywhere outside the rename form in order to get back to what you were doing<
- In order to open a folder, we will need to double click on the folder icon. If you want to pen public_html, you will need to double-click the icon.
Other Navigation tools are:
- Home: To return to home folder
- Up One level: To access a flder one level over the current folder
- Back / Forward: To access the ‘Previous’ folder you were working with
- Reload:To reload the list of folders and files without reloading the entire page
- Select All/Unselect All: To select or unselect all the folders and files in the current folder
- View Trash: To view all the files you have deleted
By default deleted files will be stored here unless you click the check box that says ‘Skip Trash and delete permanently’
- Empty Trash: If you’re viewing the trash folder, you can empty all the files there using this option. You will also have an option here to ‘Recover deleted files‘
Managing account files
File Manager gives you a lot of options to manage the account files. Check the image below and the description that follows:
- +File: To create a new file.
- +Folder: To create a new folder.
- Copy: To copy one or more selected file(s) to a different location. Once this icon is clicked, it will ask you to provide the path where the files need to be copied to
- Move: To move one or more selected file(s) to a different location. Once this icon is clicked, it will ask you to provide the path where the files need to be moved to
- Upload: To upload files from your computer to current folder. Upon clicking this option, you will be redirected to a new tab with following options:
Click on ‘Select File’ to select the file you would like to upload, or you can just drag and drop the file you would like to upload inside the dotted box in order to upload it. Once the file is uploaded (you can see 100% completion), you can click on ‘Go back to
path/to/your_uploaded_directory‘ in order to get back to File Manager
- Download: To download the selected file to your computer
- Delete: To delete the selected file
- Restore: If you are currently viewing trash, you can select the file and then click on this button to recover the file that has been deleted
- Rename: To rename a selected file
- Edit: To edit a file. You will be prompted with a warning to take backups of files before editing, you can click on ‘Edit’ to continue to the page to edit the file. Its always a good habit to first download the file to your local computer before clicking this button
- HTML Editor: Option to edit html files in a WYSIWYG format. Download the file you’re editing to your computer first, before clicking on ‘Edit’ again to continue editing the file.
- Permissions: To change file and folder permissions.
- View: To view the selected file.
- Extract: In order to extract a compressed file to the current folder.
This will extract all the files to the folder you’re working on. To keep things neat, you can create a new folder and then move the compressed file there and extract it inside the new folder
- Compress: You can select one or more files and the opt to compress them using this option
That’s all regrading managing files through File manager. If you have suggestions or issues, please feel free to leave a comment.