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