Paul,

The mime type's not the issue, its the header that forces the browser to
download instead of display inline.

___

<cfheader name="content-disposition"
 value="attachment; filename=#variables.myFile#">

<cfcontent type="application/msword" deletefile="No"
 file="#variables.MyDirectory#\#variables.myFile#">
___

Taz




> Another quickie.
>
> What do I set the mime type to, to force a document to download rather
than
> open in the browser?
>
> Regards - Paul



-- 
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