It seems the following won't work, well in at least IE5.5.
<CFHEADER NAME="Content-Disposition"
VALUE="attachment;filename=#attributes.fname#">
<CFCONTENT TYPE="application/pdf" FILE="#fnp#">
It instead opens the page up for download instead of the file. So lets say
I have peter.pdf as my attributes.fname and download.cfm is the page the
above code is on. And lets say that it's called from index.cfm. Well
index.htm appears in the download file box, not peter.pdf. It seems to work
ok in Netscape, so I can't believe I'm the only one having this problem.
I've seen similar looking code on the Allaire site, but it's still not
working. Can anyone help with this?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists