56
FILE
Required. The full path name of the file to be created.
OUTPUT
Required. The content of the file to be created.
MODE
Optional. Defines permissions for a file on Solaris or HP-UX. Ignored in Windows.
Valid entries correspond to the octal values (not symbolic) of the Unix chmod
command. Permissions are assigned for owner, group, and other, respectively. For
example:
MODE=644
Assigns the owner read/write permissions and group/other read permission.
MODE=666
Assigns read/write permissions for owner, group, and other.
MODE=777
Assigns read, write, and execute permissions for all.
ADDNEWLINE
Optional. Yes or No. If this attribute is set to Yes, a new line character is appended
to the text that is written to the file. If this attribute is set to No, no new line
character is appended to the text. The default value is Yes.
ATTRIBUTES
Optional. A comma-delimited list of file attributes to be set on the file being
written. The following file attributes are supported:
ReadOnly
Temporary
Archive
Hidden
System
Normal
If ATTRIBUTES is not used, the file's attributes are maintained. If Normal is
specified as well as any other attributes, Normal is overridden by whatever other
attribute is specified.
Individual attributes must be specified explicitly. For example, if you specify just
the ReadOnly attribute, all other existing attributes are overwritten.
CFML Language Reference
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers