[thelist] Download Files from Database (ASP)
Martyn Haigh
martyn.haigh at virgincosmetics.com
Thu Feb 20 11:25:02 CST 2003
This is what I have for one of my files that does something similar
Filename = "something - Stats.csv"
Response.ContentType = "application/octet-stream"
Response.AddHeader "Content-Disposition", "attachment; FileName = " &
Filename
Response.AddHeader "Document", Filename
Response.AddHeader "Script_Name", Filename
Response.Write Head
content = StatsRS.GetString(,,",",vbcrlf,"")
response.write content
Response.Flush
Martyn Haigh
Webmaster / Site Developer
The Virgin Cosmetics Company
City Fields, Chichester, West Sussex PO20 2FP
tel: 01243 622282
DISCLAIMER: The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this email by
anyone else is unauthorised. If you are not the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken
in reliance on it, is prohibited and may be unlawful.
More information about the thelist
mailing list