On 10/18/2010 7:53 PM, Michael Grant wrote:
>
> <cfheader name="Content-Disposition" value="attachment;
> filename=#YourFile.FileName#">
> <cfcontent type="image/jpg" file="#YourDirectory#\#YourFile.FileName#">

I had that actually - not using the "type" though as there's a number of 
different file types available.

Turns out it was related to the server issue that was causing a query 
weirdness I was asking about earlier where the two below statements were 
giving different results...

WHERE
   (paID=<cfqueryparam value="#law.paid#" cfsqltype="cf_sql_integer" />)
AND (nl_status = 'published' OR nl_status = 'archive

WHERE
   paID=<cfqueryparam value="#law.paid#" cfsqltype="cf_sql_integer" />
AND (nl_status = 'published' OR nl_status = 'archive


Restarted the server - all is good.

Hmmm...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338319
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to