cPanel 10 Tutorial: File Manager

The File Manager allows you to manage your site through HTML, rather than an FTP tool or other third-party application. 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.

To access the FILE MANAGER, click on the icon above the words File Manager (

) on the main screen of your cPanel interface.

The FILE MANAGER in the x2 theme appears as follows:

Creating a new folder

Folders are a very useful way of adding organization and structure to your web site. They make maintenance of the site much easier, as you can easily see what files are in which folder. Most web sites include at least an /image folder to keep all the image files separate from the HTML files.

To create a new folder:

Step 1. Navigate to the area in which you will create the new folder.

Step 2. Click on the Create New Folder link.

Step 3. Enter the name of the new folder in the available field in the top-left corner of the window.

Step 4. Click on the Create button. The new folder will appear in the main display area.

Uploading files in File Manager

You can use File Manager to upload files to your web site, up to 12 files in one go. Although useful, 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:

Step 1. Navigate to the folder where you want to upload your files.

Step 2. Click on the Upload file(s) link.

Step 3. Click on the Browse... button next to one of the top fields.

Step 4. Search for and double-click on the first file to upload.

Step 5. Repeat the above steps for each file you want to upload.

Step 6. Click on the Overwrite existing files tick box if you want to overwrite existing files of the same name.

Step 7. 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.

Creating a new file

For small text files it can be easier to create them online, rather than on your home computer and uploading the file. You can create text files, such as HTML, PHP, or plain TXT, but not binary files.

To create a new file:

Step 1. Navigate to the folder where you want to create your text file.

Step 2. Click on the Create New File link.

Step 3. Enter the name of the file to be created in the available field in the top-right corner of your window. You do need to add the file extension to the name, for example script.pl for a Perl script, not just script.

Step 4. Select the type of document from the drop-down list. Each type of file adds specific information to the text file:

  • Text Document - No text is added to the file.
  • HTML Document - No text is added to the file.
  • Perl Script - Automatically adds the path to Perl to the top of the file. Make sure to double-check that the path is correct.
  • Shell Script - Automatically adds the path to the Shell executable to the top of the file. Make sure to double-check that the path is correct.

Step 8. Click on the Create button. The file has now been created and the display updated to show the new file.

Editing a file

Editing a pre-existing file through File Manager allows you to make immediate changes to your web site, 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:

Step 1. Navigate to the folder where the file is located.

Step 2. Click on the name of the file.

Step 3. Click on the Edit File link in the top-right corner of your window. This will open a new window with the contents of the file displayed.

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.

Step 4. Alter the text of the file as you wish.

Step 5. 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.