Richard, You don't really need CFCONTENT (which actually sets up headers in the browser). You are not trying to send your content to the output buffer of IIS. Try cfsavecontent instead.
<cfsavecontent variable="content"> {\rtf1\ansi\ansicpg1252\uc1\deff0=stshfdbch0 etc... </cfsavecontent> <cffile action="write" output="#content#" file="full file and path name.rff"/> -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -----Original Message----- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Wednesday, October 14, 2009 10:57 AM To: cf-talk Subject: cfcontent create file hi we are using cfcontent and rich text to create a word doc as follows: <cfcontent type="application/msword"><cfoutput>{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfd bch0 etc...</cfoutput> however when we run the cfm page it brings up the download option, whereas we want to create the file and store it on the server can anyone help with this? thanks richard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4