Writes uploaded or direct content to a file.
You can either use an upload form or write the container content
directly into a file. The ownership of any newly created file is determined
by the directory it is placed into.
Additional functionality includes removal or renaming of already
existing files. This container tag will set the truth value depending
on success or failure of the requested operation.
This tag does not work on CMS filesystems. Insted we recommend
using [can't locate XREF ../sitebuilder-internal/sb-edit-area.tag]
Specifies the virtual filename to be created or operated on (relative
to the current directory, or to the root of the virtual filesystem).
Specifies the virtual root directory (sandbox) all file operations are
Specifies the type=file form field variable which uploaded the
file to be written. If this attribute is omitted, the container
content is what will be written instead. Given the example
below, the parameter from=wrapupafile should be
<input type='file' name='wrapupafile' />
<input type='submit' value='Upload file' />
Append to the file instead of replacing it.
Create the directory hierarchy needed to store the file if needed.
Causes the specified filename or directory to be removed.
Causes the specified filename to be moved to this new location.
Specifies the maximum upload file size in bytes which is accepted.
Specifies a character set to encode the file content with before
writing it. This is only useful for text data, like when the source
is a form variable which can contain characters from the full Unicode
charset. A useful charset is "utf-8" which can encode all Unicode
Causes all characters that aren't encodable with the charset
specified by the "charset" attribute to be written as numerical XML
entity references (e.g. "€"). If no "charset"
attribute is given then all characters wider than 8 bits are written
as entity references.
The maximum imageheight in pixels which is accepted.
The maximum imagewidth in pixels which is accepted.
The minimum imageheight in pixels which is accepted.
The minimum imagewidth in pixels which is accepted.
Comma separated list of file types which are accepted, currently
are jpeg, png and gif; the check is performed on the file content, not
on the file extension.