472,121 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,121 software developers and data experts.

How To Display Download success Page

rajiv07
141 100+
set f=fso.getfile(strpath)
strFileSize = f.size
set f=nothing
set fso=nothing
adTypeBinary = 1
Response.Clear
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = adTypeBinary
objStream.LoadFromFile strPath
strFileType = "audio/x-ms-wma"
Response.AddHeader "Content-Disposition", "attachment; filename=" & strDownloadPath
Response.AddHeader "Content-Length", strFileSize
Response.Charset = "UTF-8"
Response.ContentType = strFileType
Response.BinaryWrite objStream.Read
Response.Flush
objStream.Close
Set objStream = Nothing


Here only after 100% download is completed i have to display

the success page.how do i do that.

please anybody help me immediately

Thanks in advance
Jun 23 '07 #1
0 1028

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Brian Murphy | last post: by
12 posts views Thread by Swede | last post: by
1 post views Thread by chazmanian | last post: by
4 posts views Thread by tma | last post: by
4 posts views Thread by MCDONAMW | last post: by
9 posts views Thread by tomhawkins1 | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.