A page with PHP FTP function could handle this task, but with seperate folders needing files deleted you'd most likely have to run two instances.

The end result would save tons of server space over time.

Another issue that can develop from old file build up is the security with FTP programs and the limits placed on the number of files you can view.

It would also be good to make it so that the uploaded files were stored into seperate folders for each user. This would make everything more simplified for file management.

Other than a few bugs here and there the script seems to run very smoothly and clean compared to others I have looked at.