I've been using the following code for years with no problems on
IE,FF,Safari to force the download of a CSV file that will be associated
with and opened by Excel:

<cfheader name="Content-Disposition"
value="attachment;filename=""myExport.csv" charset="utf-8">
<cfcontent type="application/vnd.Microsoft Excel Comma Seperated Values
File; charset=utf-8">

However, this code in Chrome results in the actual template filename being
used without any association (ie. Download.cfm gets pushed to the user). I
can get a straight up XLS file to be downloaded and recognized by Chrome,
but no dice on the CSV formatted excel document. Has anyone got this to work
in Chrome? I have of course googled this and not been able to find anything
that works...

Brook



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:339820
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to