Application/octet-stream indicates that the content is binary data which
should force a download pop-up.

Internet Explorer is nice and helpful though and reads the start of the file
to see if the server is lying about the file type, so you might not have so
much luck if it's a file that IE knows how to deal with.

Spike

--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org 


 

>-----Original Message-----
>From: 
>[EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED]
o.uk] On Behalf Of Stephen Moretti
>Sent: Friday, May 21, 2004 2:12 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [ cf-dev ] cfcontent
>
>[EMAIL PROTECTED] wrote:
>
>>Another quickie.
>>
>>What do I set the mime type to, to force a document to 
>download rather 
>>than open in the browser?
>>  
>>
>
>ummm... application/unknown
>
>Not that I'm procastinating or anything.....
>
>Stephen
>
>
>--
>These lists are syncronised with the CFDeveloper forum at 
>http://forum.cfdeveloper.co.uk/
>Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
>CFDeveloper Sponsors and contributors:-
>*Hosting and support provided by CFMXhosting.co.uk* :: 
>*ActivePDF provided by activepdf.com*
>      *Forums provided by fusetalk.com* :: *ProWorkFlow 
>provided by proworkflow.com*
>           *Tutorials provided by helmguru.com* :: *Lists 
>hosted by gradwell.com*
>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>


-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to