Why is my public_html folder suddenly empty?

There can be several reasons for why your files seem to have suddenly disappeared.

Deleted manually

It is possible someone logged in to File Manager and deleted or moved the files. Check you other folders and check outside of public_html.

FTP access used

If you gave FTP access to someone, they do have the power to delete files. They may have accidentally downloaded the files without leaving a copy, although it is not an easy mistake to make.

To prevent this, you can create them a FTP account which only has access to a subfolder in public_html. This will allow them the access they need, while barring them from seeing and changing anything in your public_html folder.

Unfortunately, you cannot give someone access to a directory, but then prevent them from deleting the files there.

Accessing the wrong account

This mistake is much more common than you think. Be sure you are using your cPanel user name, and not "root". This especially applies to those using SSH access.

  • 0 Users Found This Useful
這篇文章有幫助嗎?

相關文章

How do I obtain my website statistics?

It can be found by logging into your cPanel control panel (www.yourdomain.com/cpanel) . We offer...

How to Backup a Database - Plesk 10

Here we will instruct you how to create a backup of your database using the Plesk Backup Manager....

How to Restore a Database - Plesk 10

Here we will instruct you how to restore a backup of your database using the Plesk Backup...

How to Active and suspend User

1. Login into your Plesk control panel.2. Click on 'Customers'.3. Check mark on Customer name.4....

How to add domain alias

1. Login into your Plesk control panel.2. Click on 'Websites & Domains'.3. Click on 'Show...