Jerry Johnson wrote:
> Using cfcontent, how can I craft a page that returns a text file to a
> Macintosh that forces a download, is saved as a txt file (.txt),
> contains extended ascii characters.

<cfheader name="Content-Disposition" value="attachment; 
filename="""fname.txt""">
<cfcontent type="application/octet-stream">

Of course you are dependent on the browser to follow the RFC.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234122
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to