Appending or Overwriting

If the target file exists, there are two options: the existing file can be replaced, or records can be appended to the existing content. Appending or replacing is configured with Append attribute.

If Append is set to true, records are appended to the file.

If Append is set to false, the file is overwritten. The default value is false.

You can also append data to files in local (non-remote) zip archives. In server environment this means use_local_context_url has to be set to true.

Append is available in the following Writers:

CloverDataWriter
FlatFileWriter
StructuredDataWriter
Trash (the Debug append attribute)
XMLWriter