Apr 9, 2004 #1 meloware Technical User Apr 9, 2004 7 US A user requests a download from my website, using a downloader Perl script. Does anyone know how I might verify that the download actually completed?
A user requests a download from my website, using a downloader Perl script. Does anyone know how I might verify that the download actually completed?
Apr 9, 2004 #2 siberian Programmer Sep 27, 2003 1,295 US If perl is actually sending the file write to a log file once your done sending it. That will tell you at least that you completed the send. while(<>){ # sending file sending file } # now we are done sending the file writetolog("DOWNLOADSUCCESS"); obviously its all psuedo code, its just for the concept. Upvote 0 Downvote
If perl is actually sending the file write to a log file once your done sending it. That will tell you at least that you completed the send. while(<>){ # sending file sending file } # now we are done sending the file writetolog("DOWNLOADSUCCESS"); obviously its all psuedo code, its just for the concept.