Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record if file download is successfuly

Status
Not open for further replies.

ifx

Technical User
Feb 26, 2002
57
GB
Hi all,

Is there any way (using ASP or something similar) to create a page which triggers a download BUT (and this is a big but) can record in some way whether the download completed or was terminated half way through (for whatever reason). Obviously something like Response.Redirect to the file can be used to trigger a d/l but checking whether it completed properly is another matter.

Any thoughts on this would be great, and save a whole lot of customer service! Thanks a lot!
 
I think it could be implemented using something like this(pseudocode)

while not eof(file)
if Response.IsClientConnected=false then
Response.Redirect ...
else
Response.Write "few bytes from file"
end if
wend

Not shure if this would be a great ideea.

________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top