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 by AdobeĀ® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273456 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4