fileAppend

Appends the data contents to the file.

fileAppend(file, data [, charset]) → returns void

This function requires Lucee. Not supported on Adobe ColdFusion.

fileAppend Argument Reference

filePath string
Required

File path

data string
Required

Data to append to the file

charset string

The character encoding in which the file contents is encoded.

Fork me on GitHub