Using the file manager in cPanel

For cPanel & WHM version 11.50   Home >> Files >> File Manager )

File Manager allows cPanel users to manage and edit their files.

The File Manager Directory Selection window

Access File Manager by selecting the File Manager icon.FileManager1

  1. You will be asked to select the directory in the file window:
    • Home Directory (/home/user)
    • Web Root (/public_html/www)
    • Public FTP Root (/public_ftp)
    • Document Root (/public_html)FileManager2
  2. Select the Show Hidden Files check box in order to view hidden files.FileManager4
  3. Select the Skip this question check box to see the File Manager Directory Selection window.
  4. Click Go.FileManager5

File Manager will open in a new browser window and your selected directory will display in the file window.

The File Manager toolbar


The File Manager toolbar provides several functions for you to manage your files:FileManager9



  • When a toolbar action is not available, the interface disables the function.
  • Certain File Manager functions are for use with only one file at a time. You mus choose the file first before selecting the action.
  • Rename, Edit, or View will not work with multiple files.  The action will only be  performed on the first file selected.
  • The Extract and Compress only works with files in  .zip format if Zip exists on your server. You can run the yum install zip command to install the Zip module.


Select a directory

You may use either the location text box or the file tree to navigate to your files and folders.

You may use the file tree (located to the left of the file window) in several different methods to browse your files:

  • Select the name of the desired folder.
  • Select the plus sign next to the folder icon to expand and see a list of sub folders in that folder.Capture
  • Click on the minus sign next to an expanded directory to collapse it.Minus

After you have expanded a folder and see a list of sub folders, click on the folder name to view the folder’s contents on the right hand side.

To navigate to a file using the location text box above the file tree, perform the following steps:

  1. Enter the entire path of the folder you wish to view.
  2. Select Go. The contents of the folder will be displayed in the file window.

The file window


The file window tells you the contents of the selected directory. If there are no files or folders in the selected folder, the file window displays the message “This directory is empty.”

Information about files and sub folders are shown in the following image:


The navigation toolbar


The toolbar at the top of the file window is used to navigate between folders.


File and folder actions

With a right-click on the folder or file you will see a menu of actions based on the type of  file from which you can select.

Displays for
Move Files, Compressed Files, Folders Move the selected file or folder to a new directory.
Copy Files, Compressed Files, Folders Copies the selected file or folder to a user-specified directory.
Rename Files, Compressed Files, Folders Renames a selected file or folder.
Change Permissions Files, Compressed Files, Folders Allows a user to change the read, write, and execute permissions for selected files or folders.
Delete Files, Compressed Files, Folders Deletes the selected files or folders from the server.
Extract Compressed Files Extracts the selected .zip.Gz, or .Bz2 archive and stores the files in a directory.
Compress Files, Compressed Files, Folders Compresses the selected files or folders to a single .zip.Gz, or .Bz2 archive and stores the compressed file to a specified directory.
Password Protect Folders Sets a username and password to restrict access to a folder.


Your service provider must enable this feature.

Leech Protect Folders Redirects users who have shared the password to a restricted area of your site with others. The system redirects accounts that exceed a set number of logins in a two hour period to a selected URL, or visitors receive an internal server error message.


Your service provider must enable this feature.

Manage Indices Folders Customizes the way in which users view a directory on the web.


Your service provider must enable this feature.


Search for a file

At the top right corner is the Search tool which allows you to search for a specific file.  The default searches the home directory.  You have the option to limit the search to the directory displayed in the file window or the root directory.FileManager220b

To search for a file:

  1. Select the directory to search: All Your Files, Only public_html or Current Directory.
  2. Enter the desired file name in the text box.
  3. Click Go.

You  will receive the results of the search in a new window.  Double-click the desired item in the list to go to a folder, or to the folder that contains the desired file. If the search failed to find any files that included your search term, the message No records found will be displayed.


Was this article helpful?

Yes (8)
No (2)

We're sorry you didn't find this article very helpful. Please help us improve it by leaving your feedback below.