You want cfsavecontent, not cfcontent.

Write the contents of the cfsavecontent variable into a file with cffile.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



2009/10/14 Richard White <rich...@j7is.co.uk>:
>
> 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\stshfdbch0
>  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:327189
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to