Page 1 of 1
Verification of download completion
Posted: Fri Aug 25, 2006 4:20 pm
by JustinK322
I have users that will be downloading files from tens of MB to a GB and I am trying to find some way to verify that the download was completed successfully. I'm just looking for some ideas because I have not been able to find anything helpful on this.
Posted: Fri Aug 25, 2006 4:38 pm
by JustinK322
I did find this a link to
http://php.net/manual/en/function.readfile.php and am going to start with that, but I am still accepting comments and ideas.
Posted: Fri Aug 25, 2006 4:50 pm
by pickle
This seems like a very difficult problem. The request for a file is separate from the request for the PHP page that provides the link. There's nothing server-side you can do to make sure the user has successfully received the whole file. There's also nothing you can do client side other than perhaps the FileSystem Javascript object :
http://www.webreference.com/js/column71/2.html , though I have absolutely no idea if that's real, or just a pipe dream.
Long story short, the only practical solution is to just provide the users with a download link & let them decide for themselves if they've downloaded it successfully.
Posted: Fri Aug 25, 2006 5:38 pm
by Christopher
Maybe there is an Apache module for something like this.