I am setting the mime type with cfcontent, but I am not using
cfheader.  I'll try that tomorrow, thanks for the tip.

On 3/22/07, Heald, Timothy J <[EMAIL PROTECTED]> wrote:
> You are using cfcontent and cfheader to set the mime type and file name?
>
> -----Original Message-----
> From: Jacob Munson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 22, 2007 5:18 PM
> To: CF-Talk
> Subject: Very weird Safari issue
>
> Short and sweet, here's what happens:
>
> 1.  User double clicks a file from a select box (files are listed from
> a directory on the server)
> 2.  JavaScript code does a window.open to pop up openFile.cfm with
> bunch of URL vars
> 3.  openFile.cfm discovers the MIME type of the selected file and
> sends it to the browser using cfcontent
> 4.  If the file was a Word doc, Safari downloads the file, but names
> it openFile.cfm instead of whatever.doc
> 5.  If you rename openFile.cfm to whatever.doc, it is indeed the
> desired Word doc
>
> If you open any other file type with Safari, you get the file with the
> correct file name.  If you open a Word doc in IE or Firefox, it works
> fine.
>
> What the HECK?
>
> --
> My Sites:
> http://www.techfeed.net/blog/
> http://www.cfquickdocs.com/
> http://cfformprotect.riaforge.org/
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273467
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to