I am interested in learning how to do this.
I don't clearly understand how the syntax would look on an ASP page.
Is there a reference on the net where I could see a sample?

thanks.

-----Original Message-----
From: Wade Armstrong [mailto:wade_lists@;runstrong.com]
Sent: Friday, October 18, 2002 10:46 AM
To: ActiveServerPages
Subject: Re: Force download


on 10/18/02 1:01 AM, Rupert Killick at [EMAIL PROTECTED] wrote:

> Response.ContentType = rs("sMIMEType")

Try:
Response.ContentType = "application/octet-stream"
or
Response.ContentType = "application/x-msdownload"

either should force the browser to download rather than being handled as is
appropriate for the mime-type of the file you're sending to the browser.

Wade


---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to