How to Create/Edit/Delete a File Using the File Manager

You will need to have a basic understanding of how to navigate the File Manager in order to complete these tasks.

Create a File or Folder

  1. Log in to cPanel.
  2. In the Files section, click on the File Manager icon.
  3. Select the Web Root directory.
  4. Be sure the Show hidden files(dotfiles) box is checked.
  5. Click the GO button to continue.
  6. Click the New File or New Folder button at the top of the page.
  7. In the pop-up box, enter the name of the newly created file or folder.
    Note: Files will have a name and extension separated by a dot, but folders have only one name. Files without an extension will be rendered as as generic text document.
  8. Click the Create New File or Create New Folder button.

Remove a File or Folder

  1. Log in to cPanel.
  2. In the Files section, click on the File Manager icon.
  3. Select the Web Root directory.
  4. Be sure the Show hidden files(dotfiles) box is checked.
  5. Click the GO button to continue.
  6. Click and highlight the file or folder you want to remove in the file listing.
  7. From the top toolbar, click Delete.
  8. Click the Delete File(s) button on the pop-up box to confirm your action.

Edit a File

  1. Log in to cPanel.
  2. In the Files section, click on the File Manager icon.
  3. Select the Web Root directory.
  4. Be sure the Show hidden files(dotfiles) box is checked.
  5. Click the GO button to continue.
  6. Click and highlight the file you want to edit in the file listing.
  7. Choose one of the three following editors from the top toolbar:
    • Edit allows the user to edit a document as plain text
    • Code Edit allows the user to edit a document as code and will give line numbers down the side of the editor. You can also color code your code by using the syntax drop-down menu and selecting the code you are working with.
    • HTML Editor allows the user to edit a document as an HTML document. In this editor, you can also switch between a Design View (as a text document), a Source View (through the html code itself) or a Preview Mode (view the page through the web) by selecting the appropriate tab in the bottom left of the editor.
  8. Once you have selected the editor you would like to use, click Edit from the pop-up window to open the editor in a new window.
  9. Click Save Changes once you are done editing your document.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WordPress pointing home URL to subdirectory

Pointing your home site's URL to a subdirectory In some cases, you may have a WordPress site...

How to log into cPanel

cPanel is a web hosting account management tool available on all Digicom Linux hosting plans,...

Change cPanel Password or recover lost password

Requesting a New cPanel Password If you have lost or forgotten your cPanel password, you can...

Location of Script Configuration Files

Location of Script Configuration Files These paths are relative to the root of the script, not...

Connect to MySQL Database

How to Connect to the MySQL Database In order for your MySQL database to work as intended, it...