By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,649 Members | 2,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,649 IT Pros & Developers. It's quick & easy.

Pop up download box

P: n/a
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
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

Nov 18 '05 #2

P: n/a
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


Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.