I know the security considerations for this...  I will be trapping that
security on this within the client's session as well, but nevertheless, does
anyone know how would I be able to get the mime type for this file?


<cfparam name="url.file" default="">
<cfif fileExists(url.file)>
        <cfheader name="Content-disposition" value="attachment;
fileName=#url.file#">
        <cfcontent type="?????" file="#url.file#" deletefile="No">
</cfif>

______________________________________________________________________
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