Delete function done.

Deletes all files and folders recursively from the database and the ftp.