I am using cfcontent to download various graphic files to the hard drive. 
They are primarily psd, eps, and tif files. Cfcontent works great on a PC 
with both IE and Netscape, but completely bombs on a MAC. When downloading 
to a MAC, the MAC opens the file in the browser, or, if can't do that, 
shows a broken QuickTime Icon. Below is my code for cfcontent

<cfif 
fileExists("#application.settings.remotePath#\#form.directory#\#form.filename#")>
                        
<CFHEADER NAME="Content-Disposition" value="attachment; 
filename=#form.FileName#">
<cfcontent type="application/unknown" 
file="#application.settings.remotePath#\#form.directory#\#form.filename#" 
deletefile="no">
<cfelse>
  file doesn't exist.
<cfabort>
  </cfif>


------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to