automatic processing of ftp-uploaded files; upload done or not?
Posted on 2007-11-22
I've got a system that processes images and movies for further use.
To make it easyer for some users, we are making a system that will allow them to upload files to an ftp-server. From there the system will automaticly process the files.
Since it is an automated process, it will be run quite often, to allow quick processing of the files.
However, a file should not be processed when the upload of the file is not complete.
How can I detect in PHP that a certain file was uploaded completely?
Filetypes that can be used are jpg, avi, mpeg, wmv, html, etc.