fileWrite

If you specify a file path, writes the entire content to the specified on-disk or in-memory file. If you specify a file object, writes text or binary data to the file object.

fileWrite(filePath, data [, charset]) → returns void

fileWrite Argument Reference

filePath
Required

No Help Available

data
Required

No Help Available

charset

No Help Available

Examples sample code invoking the fileWrite function


Script Syntax

<cfscript> 
 fileWrite("mail_list", "#companymail#"); 
 mlist = fileRead("mail_list"); 
 </cfscript>  

Fork me on GitHub