Appends the data contents to the file.
fileAppend(file, data [, charset] [, addNewLine])
→ returns void
true
Appends a mock entry to a file.
// Create mock log entry
logEntry = dateTimeFormat(now(), "yyyy/mm/dd HH:nn") & " this is a mock log entry!";
// Append line to file
fileAppend("/path/to/file.log", logEntry);
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.