Is there any way ASP/IIS can tell if an ASP page has downloaded to the client successfully? The information must be available somewhere, as the TCP bit of TCP/IP tracks all the packets that get sent.<BR><BR>The reason why I want to do this?<BR><BR>If you sell software on the internet, you only want the purchaser to download the file once. However, you also want to ensure that the 1 download is always successfull.<BR>So the code below (in JScript) takes a file, and streams it to the user. After the Response.Flush() line, how do I detect the download was successfull?<BR><BR>****************************** *****************<BR>var MyFile = "C:downloads"<BR>// Get the file type<BR>var FileExt = objFSO.GetExtensionName(MyFile);<BR>// Get the file size<BR>var objFile = objFSO.GetFile(MyFile);<BR>var FileSize = objFile.Size;<BR>delete objFSO;<BR><BR>// WebObj1.BinRead is an activeX object that returns the file in<BR>// a binary format (Something that FSO & OpenAsTextStream can&#039;t do)<BR><BR>var objWeb1 = Server.CreateObject("WebObj1.BinRead");<BR>binStre am = objWeb1.readBinFile(MyFile);<BR><BR>var ContentType = "";<BR>switch (FileExt) {<BR> case "exe":<BR> ContentType = "application/octet-stream";<BR> break;<BR> case "zip":<BR> ContentType = "application/x-zip-compressed";<BR> break;<BR>}<BR><BR>Response.AddHeader("Content-Type", ContentType + "; name=" + DLFile);<BR>Response.AddHeader("Content-Disposition", "attachment; filename=" + DLFile);<BR>Response.AddHeader("Content-Length", FileSize);<BR><BR>Response.BinaryWrite(binStream); <BR>Response.Flush();<BR>************************* ********************<BR><BR>Thanks for your help<BR><BR>CyberSpy