[Phpwm] auto reading Zip files
Rob Allen
rob at akrabat.com
Thu Nov 9 14:15:37 GMT 2006
alan dunn wrote:
> But is it possible to differentiate between a corrupt file which has
> finished downloading and a file which is in the process of being
> downloaded when our cron job comes along looking for something to do?
The simple way:
* Check the size of the file.
* Wait a bit.
* Check file size again. If it's the same, then the file is complete.
Regards,
Rob...
More information about the Phpwm
mailing list