Call script.cfm like this.. (make #tempFileName# the full filename including the extension)
script.cfm/#tempFileName#?file=#tempFileName# script.cfm ---------- <CFCONTENT TYPE="application/vnd.ms-excel" DELETEFILE="YES" FILE="D:\PATH\TO\FILE\XLS\#url.file#"> should work. -----Original Message----- From: Dave Hannum [mailto:[EMAIL PROTECTED]] Sent: 04 December 2001 13:39 To: CF-Talk Subject: CFM File Extension for Downloads Hello, I'm creating Excel documents for download. I've created the cfheader and cfcontent type (see below) however, when you try to download in Netscape, the name of the script "script.cfm" is saved vs. the name of the "file.xls" that I create. What's the work around for this so that the file is saved (or opened) as the .xls name I've given it? <CFHEADER NAME="Content-Disposition" VALUE="FILENAME=""#tempFileName#.xls"""> <CFCONTENT TYPE="application/vnd.ms-excel" DELETEFILE="YES" FILE="D:\PATH\TO\FILE\XLS\#tempFileName#.XLS"> Thanks, Dave =============================== David R Hannum Ohio University Web Analyst/Programmer (740) 597-2524 [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

