Reuben King wrote:

> And you presume sending over a PDF as a .CFM is somehow acceptable?  

Uh, no, I didn't suggest that.

As I've noted in earlier posts, you can send any file you want with any 
filename you want using something like the following:

<CFHEADER name="Content-Disposition" value="attachment;
filename=#filename#">
<CFCONTENT type="application/octet-stream" 
        deletefile="no"
        file="#physical_path\#filename#">

Using the above code the client browser will take the value of #filename#
as the filename, so you can send anything you want: .gif, .pdf, .htm, even
(gasp) .vbs.

I recommend you take a little time to learn Cold Fusion before sending
out any more flames, sir.

Chris Tweney
Media Application Developer
roundpeg
www.roundpeg.com
1700 California Suite 260
San Francisco, CA. 94109
Ph. 415-437-3900 
Fax 415-437-3904

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to