Skip to main content

Write File

Write File—Transfer objects can write files and modify existing files. File paths can be selected from a database or specified as constants. You can configure the transfer object directly within the flow as described.

After double-clicking the transfer object, configure the following properties:

Section: Output Path

PropertyDescription
Dynamic or StaticSelect whether the destination path is dynamic or static. If the destination path is dynamic, it can be specified at runtime via an item link.

Section: Existing Files

PropertyDescription
Action

Overwrite: The target file is completely replaced by the new file.

Generate error: If the target file already exists, the transfer is aborted with an error.

Append data: For text files, the new data can be appended to the old file. Move existing file: Moves the existing file to a specified directory.

Section: File Settings

PropertyDescription
Dynamic or Static File NameSelect a static file name or pass a file name at runtime via an item link.
Prefix with UTC TimestampIf enabled, the current UTC timestamp is prepended to the file name. For example, the file “test.txt” becomes “20191204_095646_test.txt”.
Write binary dataSelect this option if you want to write a binary file. (e.g., *.doc, *.jpg, *.xlsx).
Write TextSelect this if you want to write a plain text file. You can also select the file encoding.