FileAppend()
appends the entire content to the specified file.
FileAppend( file=any, data=any, charset=string );
Returns: void
Argument | Description |
---|---|
file
any,
required
|
file path Alias: filePath |
data
any,
required
|
data to append to the file |
charset
string,
optional
|
The character encoding in which the file contents is encoded. |
Examples
fileAppend("path/to/file", "new content to append")
See also
- File handling
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)