Last updated on
Apr 27, 2021
|
Also applies to ColdFusion
Appending to a file
You can append text to a file using the append function.
Method summary
append (name,data) - append data to a given file
- returns - None
- params
- name – Absolute or relative path of a file name (including file name)
- data - data to be written to file
For instance,
<cfset cfclient.file.write('first.txt','Hello there!!!')> |
Examples