cfclient.file.write

Writing to a file

You can write text to a file using the write function. This function creates a file if a given file name does not exist.  See the following example:

<cfset cfclient.file.write(“myNewFile.txt”, “Hello World!!!”)>

Method summary

write(name, data) - write data to a given file

  • returns - None
  • params
    • name – Absolute or relative path of the file name (including file name)
    • data - data to be written to the file

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online