An enhancement in ColdFusion 10 to cffile makes it very easy to write or append content to a file on physical disk, Amazon S3 or RAM disk.
In the following example a new file will be created:
Here is my file content
With several lines
That go on
In this example the content is appended to the file:
appending a couple lines