> You can use the Content-Disposition header:
> 
> <cfheader name="Content-Disposition" value="inline; 
> filename=#yourFileName#">
> 
> or
> 
> <cfheader name="Content-Disposition" value="attachment;
> filename=#yourFileName#">
> 

Thanks Dave!  That worked!  Here's the solution:

<cfcontent type="#myquery.mimetype#">
<cfheader name="Content-Disposition" 
value="inline;filename=attachment.#myquery.extension#"><cfoutput 
query="myquery">#ToString(blobdata)#</cfoutput>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:345760
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to