The WRITEFILE tag offers the ability to output textual data to a file. The tag does not
support absolute or '..' (parent) directory access. With this tag, files can only be
created or added to in the script directory. For security reasons, this is by design.
As well, the tag supports a CREATEDIR action that allows for the creation of a
directory under the current template directory. UPLOAD is also supported for HTML file uploads,
and the action SIZE is supported to report the size of a file or directory (directories are a
Note: WRITEFILE supports "virtual" paths. These paths can be configured
by the system administrator.
file or directory (relative to current directory or a virtual directory)
variable to receive success code (TRUE or FALSE)
CREATE, APPEND (default), CREATEDIR and UPLOAD
represents HTML FORM field name; used with ACTION="UPLOAD"