Web Hosting Line
1.800.828.9231
Display entire tutorial on one page. Print-friendly version.

cPanel Tutorial: Files - File Manager

The File Manager allows you to manage your site through HTTP, 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.

How to access the File Manager

To access the File Manager, click on the File Manager icon in the Files section of your cPanel.

SiteGround web hosting: cPanel - File Manager

Then you will be able to pick the directory for which to open File Manager:

cPanel - File Manager - Choose directory

The File Manager in the x3 theme appears as follows:

cPanel - File Manager - x3 theme

Creating a new folder

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

Step 1: Click on the New Folder link.

cPanel - File Manager - New Folder

Step 2: Enter the name of the new folder and define the location where it will be created.

Step 3: Click on the [Create] button. The new folder will appear in the chosen location.

Uploading files in File Manager

You can start uploading files through File Manager by clicking on the [Upload] icon.

cPanel - File Manager - Upload

How 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] icon.

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. The upload will start automatically.

Step 5: Repeat the above steps for each file you want to upload. You can open more upload boxes by clicking on the Add Another Upload Boxes link.

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

You can download files from the server to your personal computer through the Download option.

You can copy and move files between the accounts folders through the Copy and Move File functionality. You can Rename and Delete the existing files through the corresponding options.

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 HTML, Perl, Shell, or plain TXT files.

cPanel - File Manager - create files

To create a new file please, follow the steps below:

Step 1: Click on the New File link.

Step 2: Enter the name of the file to be created. Please mind to add the correct extension. For example if you create a Perl file, the extension will be .pl.

Step 3: 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 4: Pick the destination where the file should be saved and click on the [Create New File] button. The file is created.

Editing a file

Editing an existing file through the 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 please follow the steps below:

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 link in the top menu of your window. This will open a new window with the contents of the file displayed.

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

Step 5: Click on the [Save Changes] button when you have finished altering the file. The file has been saved and any changes will take effect from now on.

You can use more sophisticated editors as the Code Editor and the HTML Editor. You can also click on the View link in the File Manager main menu, but the file will be opened for reading and you will not be able to edit it.

Extracting/Compressing a file

You can extract archive files using the Extract function.

cPanel - File Manager - Extract files

You can also create your own archives. Select the files and folders, which you want to include in the archive and click on the Compress link.

cPanel - File Manager - Compress files

Please, click here for CPanel video tutorial about:
Managing all of your files with the File Manager.



CPanel Hosting
(c) Copyright 2007 SiteGround Web Hosting Provider. All rights reserved
Previous Next