> Folks, I have the following two CF tags:
> 
> <cfheader name="content-disposition" value="attachment;
> filename=#varFile#">
>
> <cfcontent type="application/pdf" file="#varPath#"
> deletefile="No">
>
> When using IE (5.5), these two cause it to pop up the file 
> download dialog box where I can choose to open the file from 
> its current location or save it to disk. This is exactly what 
> I want to have happen.
>
> But when I use Netscape (either 4.7 or 6.1), the file is always 
> opened in line in the current frame. I don't get the opportunity 
> to save it to disk?
>
> How come? How can I get Netscape to prompt for a download? Is 
> there something I should do in the CF tags to get it to prompt 
> for download? 

Try specifying the MIME type as "application/unknown".

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to