• cPanel Hosting Features

cPanel File Manager: Deleting and Restoring Files and Folders

You can use File Manager to delete files from your server. 

Deleting Files and Folders

You can use the Delete function in File Manager to delete files and folders from your server.

cPanel delete files

  1. Navigate through your files to locate the file you want to delete.
  2. Select the file and click on the Delete icon on the top toolbar. Alternatively, you can right-click on the file and select Delete from the options menu.

    cPanel delete files

  3. Click Confirm to complete the action.

    cPanel confirm delete

NOTE: When you delete a file, it is not permanently deleted from your server. Instead, File Manager moves the file to the Trash folder. If you want to skip this step and permanently delete the file instead, check the Skip the trash and permanently delete the files option.

Restoring deleted files

Deleted a file by accident? If you have not checked the Skip the trash and permanently delete the files option, then you can recover the deleted files from the Trash folder.

cPanel view trash files

  1. Click View Trash from the toolbar.
  2. Select the file or folder you want to restore.
  3. Click Restore from the top toolbar.

    cPanel restore file

    Alternatively, you can right-click on the file and select Restore from the options menu.

    cPanel restore file menu

  4. Confirm that you want to restore.

    cPanel confirm restore file