fileWriteLine
Appends content to an existing file
fileWriteLine(file, data) → returns void
Argument Reference
file any Required
The file where you want to add your content
data string Required
Content to add to the file
Examples Sample code invoking the fileWriteLine function
myfile = fileOpen("c:\temp\test1.txt", "write");
fileWriteLine(myfile,"This line is new.");
fileClose(myfile);
© 2012–present Foundeo, Inc. and the CFDocs contributors.
Licensed under the MIT License.
ColdFusion is a trademark of Adobe Systems Incorporated.
https://cfdocs.org/filewriteline