[thelist] Download Files from Database (ASP)

Martyn Haigh martyn.haigh at virgincosmetics.com
Thu Feb 20 11:30:31 CST 2003


Excuse my poor formatting : sorry!

And again...


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


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