Robert,
 
Try this:
 
 <CFHEADER NAME="Content-Disposition" VALUE="attachment;filename=#filename#.jpg">

 <cfcontent type="application/unknown" reset="Yes">
 
This will force an unknown mime-type to the browser, and will result in a download diaglog.
 
Also, if you use this, its good pratice to use <cfsetting enablecfoutputonly="yes"> to surpress white space.
 
Thanks,
 
Jordan

Matt Woodward <[EMAIL PROTECTED]> wrote:
Can you post your code?


On Tue, 15 Feb 2005 10:12:19 -0600, Robert Shaw <[EMAIL PROTECTED]>wrote:
>
> I have a site that a photographer uses to allow his clients to upoad images.
> After he cleans the image, he wants the client to be able to download. I
> used CFCONTENT, but it only displays the image, does not force the download.
>
> What am I doing wrong?
>
>
>
> Robert Shaw
>


--
Matt Woodward
[EMAIL PROTECTED]
http://www.mattwoodward.com
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm




 

Reply via email to