Overview
When you delete files in File Manager, they are normally moved to the Trash Bin instead of being permanently deleted.
This allows you to recover files that have been deleted by accident.
Important information
⚠️ Files that are deleted from the trash bin cannot normally be recovered.
We therefore recommend checking the content carefully before emptying the trash.
Prerequisites
Before you start, make sure you:
Have access to cPanel
Are logged into cPanel
Step 1: Log in to cPanel
If your hosting service supports direct login to cPanel, you can log in via the client area.
This is how you do it:
Find your hosting service under active products/services
Click on Log in on cPanel
You are now automatically logged into cPanel
Step 2: Open File Manager
Go to the Files section and click on File Manager:
Step 3: Find the file you want to delete
In this example, we will delete the file script.php:
Step 4: Delete the file
Select the file
Click on Delete
Confirm the deletion:
The file is now moved to the trash.
Step 5: Recover a File
Click on View Trash:
3. Select the file or folder you want to restore
4. Click on Restore:
Confirm the recovery by clicking on Restore files:
The system moves the file back to the original location:
Troubleshooting
I can't find the deleted file
Make sure that:
The file is actually in the trash bin
The trash bin is not already emptied
The file cannot be restored
If the file is permanently deleted, it must be recovered from a backup if such is available.
Summary
You have now learned how to delete and restore files and folders in cPanel.








