Pop up download box

  • Thread starter Thread starter Steve Lloyd
  • Start date Start date
S

Steve Lloyd

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
 
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.
 
Back
Top