good question... i didn't put that too well.
After is do the response.writefile and the file has finished downloading i
want to redirect to another page. Also, I would like to use customised
progress screen for the download. Is this possible?
Thanks, I hope it makes more sense this time.
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:e2*************@TK2MSFTNGP12.phx.gbl...
What exactly is the problem you are having?
"Steve Lloyd" <Re*************@laxeyRemovepartners.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... Hi, I am trying to create a popup progress box for a downloading file
and then do a page redirect/transfer on completion of the download and also
to confirm completion of the download, much like downloads on the microsoft
site.
The download is protected by using a naming it as an aspx file and then
streamed to the user using the reponse object
Response.AddHeader("Content-Disposition", "attachment; filename=" &
Replace(myFile.Name, ".aspx", ""))
Response.AddHeader("Content-Length", myFile.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.WriteFile(myFile.FullName)
Response.End()
Can anyone pls point me in the correct direction.
Thanks
Steve