I want to do simple download of a web page to Excel. 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 open 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:338877
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm