I want to download a web page to Excel and bypass the Open/Save dialog box (e.g. don't use value=attachment in the <cfheader> tag. I am using CF7, browser is IE6SP2 and Excel 2007. The single standalone file is test.cfm.
Here is the code: <cfheader name="Content-Disposition" value="inline;filename=download.xls" /> <cfcontent type="application/vnd.ms-excel" /> <table> <tr> <td>Hello 1</td> <td>Column 2</td> <td>Column 3</td> </tr> </table> Excel opens as expected but the filename in Excel is "test.cfm" rather than "download.xls" and is opened in [Read-Only] mode. Any ideas? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:338961 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm