[thelist] ColdFusion: Forcing Download SOLVED

jon steele jjsteele22 at yahoo.com
Mon Apr 15 21:22:01 CDT 2002

Thanks everyone for the replies! The following worked in IE5.5, NS6, and NS4.75.

<cfset filePath = "c:\file.pdf">
<cfheader name="Content-Disposition" value="attachment; filename=#getFileFromPath(filePath)#">
<cfcontent file="#filePath#" type="application/octet-stream">


Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

More information about the thelist mailing list