cfclient.file.append

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!!!')>
<cfset cfclient.file.append('first.txt','Adding more text.')>


Examples

See Using the File APIs

Get help faster and easier

New user?