Overview
The File Manager interface allows cPanel users to manage and edit their files.
The File Manager Directory Selection window
With the File Manager interface open, perform the following steps:
- Select the directory to view in the file window:
- Home Directory(/home/user)
- Web Root(/public_html/www)
- Public FTP Root(/public_ftp)
- Document Root(/public_html)
- Click on the Show Hidden Filescheckbox to see hidden files.
- Click on the Skipthis question checkbox to see the File Manager Directory Selection
- Click Go.
The File Manager interface opens in a new browser window and the selected directory displays in the file window.
The File Manager toolbar
The File Manager toolbar shows the following functions to manage your files:
Feature
|
Icon
|
Description
|
New File
|
|
Creates a new file with a user-defined file extension.
|
New Folder
|
|
Creates a new folder in the current directory.
|
Copy
|
|
Copies selected items to a user-specified directory.
|
Move File
|
|
Moves the selected files to a new directory.
|
Upload
|
|
Uploads files to the selected directory.
|
Download
|
|
Downloads selected files to your computer.
|
Delete
|
|
Deletes selected files from the server.
|
Rename
|
|
Renames the selected file or folder.
|
Edit
|
|
Opens the selected files in a text editor.
|
Code Editor
|
|
Opens the selected files in a code editor.
|
HTML Editor
|
|
Opens the selected HTML file in a visual HTML editor.
Note:
To learn more about the editor's functions, visit our HTML Editor documentation.
|
Change Permissions
|
|
Changes the read, write, and execute permissions for selected files.
|
View
|
|
Opens the selected file so that you can view the code.
|
Extract
|
|
Extracts the selected .zip, .Gz, or .Bz2 archive and stores the files in a directory.
|
Compress
|
|
Compresses the selected files to a single .zip, .Gz, or .Bz2 archive and stores the compressed file in a specified directory.
|
Character encoding verification
When you edit a file with Edit, Code Editor, or HTML Editor, a window appears to confirm the file's character encoding. Select the correct character encoding from the menu and click Edit to continue.
- Click Toggle Helpto display more information about how to select the correct character encoding.
- Click Disable Encoding Checkto turn off future verification dialogs.
You can also turn Character Encoding Verification Dialogs on or off:
- Click Settingsin the top left corner of File Manager. A new window appears.
- Enable or disable Character Encoding Verification Dialogs:
- To turn the encoding verification off, select the Disable Character Encoding Verification Dialogs
- To turn the encoding verification on, deselect the Disable Character Encoding Verification Dialogs
- Click
Select a directory
Use the file tree or the location text box to navigate your files and folders.
There are several ways to use the file tree (located to the left of the file window) to browse your files:
- Click on the name of the desired folder.
- Click on the next to the icon to view a list of subfolders in that folder.
- Click on the next to an expanded directory to collapse it.
To use the location text box directly above the file tree, perform the following steps:
- Enter the path of the desired folder to view.
- Click Go. The file window will display the contents of the chosen folder.
The file window
The file window displays 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 subfolders displays in the following columns:
Feature
|
Description
|
File Icon
|
Files display an icon of the desired file type. Folders display the icon.
|
Name
|
The filename.
|
Size
|
The size of the file.
|
Last Modified
|
The date and time the file was last modified.
|
Type
|
The media (MIME) type and subtype.
|
Perms
|
The permissions setting for the file, in octal notation. The default permission setting is 0644.
|
The navigation toolbar
Use the toolbar at the top of the file window to navigate between folders in the file window.
Feature
|
Description
|
Home
|
Navigates directly to the home directory (/home/user).
|
Up One Level
|
Navigates to the folder that contains the currently selected folder.
|
Back
|
Returns to the folder that you viewed immediately before the currently selected folder.
|
Forward
|
Navigates to the next folder that you viewed, after you use Back.
|
Reload
|
Refreshes the displayed list of files and folders.
|
Select all
|
Selects all displayed files and folders.
Note:
Any attempt to Rename, Edit, or View multiple files at once only affects the first listed file in the directory.
|
Unselect all
|
Deselects all files and folders that the interface currently displays.
|
File and folder actions
Right-click on files or folders in the file window to choose from a menu of actions customized to the file's type.
Feature
|
Displays for
|
Description
|
Feature
|
Displays for
|
Description
|
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.
Note:
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.
Note:
Your service provider must enable this feature.
|
Manage Indices
|
Folders
|
Customizes the way in which users view a directory on the web.
Note:
Your service provider must enable this feature.
|
Search for a file
The Search tool at the top right corner of the interface allows users to search for a specific file. By default, Search searches all files in the home directory. You can limit the search to the root directory or to the directory that displays in the file window.
To search for a file, perform the following steps:
- Use the Searchmenu to choose the directory to search: All Your Files, Only public_html or Current Directory.
- Enter the desired file name in the text box.
- Click Go.
A new window will display the filenames that match your search. To go to a folder, or to the folder that contains the desired file, double-click the desired item in the list. If there are no files that include your search term, the message No records found displays.