File Manager Overview

This article outlines how to use the "File Manager" interface to manage your website's files.

Notes:

  • When a toolbar action is not available, the function icon displays in gray.
  • You can only use certain File Manager functions with one file at a time. Select the desired file in the file window before you attempt these actions.
  • Any attempt to rename, edit, or view multiple files at the same time will only affect the first listed file in the directory.

You can click any of the links below to jump to a specific section:

 

Access File Manager:

1) Login to cPanel.

1Capture.png

 

2) Select the link "File Manager".

Back to top

Change Settings:

1) While on the "File Manager" page navigate to the "Settings" button in the top right corner of the page.

 

2) Under "Settings" a "Preferences" windows will appear which will allow you to select some of the options listed bellow:

 

A) These options will set your default directory for when you open "File Manager" by default this is set to open in your "/home/domain.com" directory but can be changed depending on your perference. In the example bellow we have set /public_html or /www to be the default directory depending on the system that you have setup.

B) The option "Show Hidden Files (dotfiles)" will allow you to display hidden files such ".htaccess" and any other files that are made starting with a period.

Back to top

Create a new file or folder:

1) Click "+ File" or "+ Folder" option in the File Manager toolbar in the top left corner. A new window will appear.

 

2) Enter the new item's name in the "New File Name:" or "New Folder Name:" text box. Enter the location in which the system will save the item in the "New file will be created in:" or "New folder will be created in:" text box. Once complete click "Create New File" or "Create New Folder".

Back to top

Rename a file or folder:

1) To rename a folder or file, you may either left click the item's name or right click on the item and select "Rename" and enter the new name in the text box.

 

 

2) Once complete press the "Enter/Return" key to save the change. 

Back to top

Move a file to a folder:

1) Select the file in question and click "Movein the tool bar at the top of the interface. The "Move" window will appear. Note: You can also drag a file icon into a new destination folder. 

 

2) Enter the file path that you want to move the file to in the "Enter the file path that you want to move this file to:" text box. Once complete click the "Move File(s)" button to move the file.

Back to top

Move files to a folder:

1) Hold the "Shift" key to select all of the items that you wish to move. Note: The items highlighted in blue are selected to be moved. 

 

2) Click "Move" in the tool bar at the top of the interface. The "Move" window will appear.

 

3) Enter the file path that you want to move the file to in the "Enter the file path that you want to move this file to:" text box. Once complete click the "Move File(s)" button to move the file.

Back to top

Copy a file:

1) Select the file you want to copy, click "Copyfrom the tool bar at the top of the interface or right-click and select "Copy" from the menu. The "Copy" window will appear.

 

2) In the "Copy" window enter the file path to which to copy the files in the "Enter the file path that you want to copy this file to:" text box. Once complete click "Copy File(s)" to copy the file.

Back to top

Copy multiple files:

1) To copy several items, hold the Shift key while you select the items, click "Copyfrom the tool bar at the top of the interface or right-click and select "Copy" from the menu. The "Copy" window will appear.

 

2) In the "Copy" window enter the file path to which to copy the files in the "Enter the file path that you want to copy these files to:" text box. Once complete click "Copy File(s)" to copy the files.

Back to top

Modify file or folder permissions:

1) Select the file or folder for which to change the permissions.

2) From the toolbar, click "Permissions" or you may right click on the file/folder in question and select "Change Permissions" from the drop down. The "Change Permissions" window will appear. 

 

3) Use the check boxes or text boxes to change the item's permissions. This setting's permissions default to 0644. Click "Change Permissions" to save your changes.

Back to top

Delete and restore files and folders:

To delete a file or folder, perform the following steps:

1) Select the file or folder you want to delete.

2) From the toolbar, click "Delete" or you may right click on the item and select "Delete" from the drop down list of options. The "Trash" window will appear. 

 

3) On the "Trash" window you may select the check box that reads "Skip the trash and permanently delete the files" if you wish to permanently delete files and click "Confirm" to delete the file or folder selected. 

 

Note: When you delete files or folders, the system does not permanently delete the files unless specified by selecting the check box that reads "Skip the trash and permanently delete the files". Instead, the system moves the files to the Trash folder. Click "Empty Trash" to permanently delete the files or folders.

 

To restore a file or folder, perform the following steps:

1) Click "View Trash" from the toolbar.

 

2) Select the file or folder that you want to restore.

3) Click "Restore" in the toolbar, the "Restore" window will be displayed.

4) On the restore window click on "Restore File(s)" to restore the selected file stored in your "Trash" folder.

Back to top

Upload and Download file(s):

To upload files, perform the following steps:

1) From the upper toolbar select "Upload". 

 

2) On the "File Upload" page you have the option of either dragging and dropping your files with the box provided on the webpage or you may browse your files by clicking "Select File". 

 

Note: Files are uploaded to the Directory that you were currently working in when you selected the "Upload" button which will also be displayed at the bottom of the page.

 

To download files, perform the following steps:

1) To download a file select the file you wish to download and either navigate to upper toolbar and select "Download" or right click on the file and select "Download" from the drop down menu. 

 

Note: Once the "Download" option is selected your chosen file will immediately be downloaded.

Back to Top

 

Edit a file:

1) To edit a file select the file you wish to edit and either select the "Edit" option from the toolbar above or right click on the file and select "Edit" in the drop down provided.

 

2) Once the "Edit" windows appears accept the defaults and click "Edit" to continue.

 

3) On the following page make all of the general edits that you need to make to said file and once done push the buttons that reads "Save Changes" in the top right corner of the page.

Back to top

Other item actions:  

Right-click files or folders to select from a menu of actions that the system customizes based on the file's type.

 
Feature
Displays for
Description
Extract Compressed Files

Extract the selected *.zip, *.Gz, or *.Bz2 archive and store the files in a directory.

 
Compress Files, Compressed Files, Folders

Compress the selected files or folders to a single *.zip, *.Gz, or *.Bz2 archive and store the compressed file to a specified directory.

 
Password Protect Folders

Set a username and password to restrict access to a folder. 

 
Leech Protection Folders

Redirect users who have shared the password to a restricted area of your site. The system will redirect accounts that exceed a set number of logins in a two-hour period to a selected URL or receive an internal server error message.

 
Manage Indices Folders

Customize the way users view a directory on the web. 

 

Additional information

While "File Manager" is a great tool for conveniently managing your files, there are alternative options, like using FTP (File Transfer Protocol) with an FTP client such as Cyberduck. For more information on using FTP accounts, please review this article: Official cPanel Documentation for FTP Account Management.

Back to top

Was this article helpful? If not please submit a request here

How helpful was this article?