Question : script to monitor downloaded file size

I have a large file (15MB) which visitors can download from my website and would like to pop up a URL when the file download was interrupted or ended before the full file size was reached. The script should also give me some basic information about that downloader, such as IP and country.

Can anyone help, please?

Answer : script to monitor downloaded file size


A downloadable script with counter and logging can be found here:
http://www.schlabo.com/info/dl/2.01/index.shtml

If the above does not meet all your requirements then many other similar scripts can be found and dowloaded here:
http://cgi.resourceindex.com/Programs_and_Scripts/Perl/File_Management/File_Downloading/

Detecting an incomplete download from the server side is not possible I think, because the download is handled by the browser and not the server. If it is possible to monitor then I think this would require Javascript, JavaApplet or VB.
Random Solutions  
 
programming4us programming4us