Pop up download box

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
 
S

Steve Lloyd

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top