File Write
File Write transfer objects can write files and modify existing files. File paths can be selected from a database or as constants. You can project the transfer object directly within the connection as described.
After double-clicking on the transfer object, set the following properties:
Section: Output Path
| Property | Description |
|---|---|
| Dynamic or Static | Dynamic or static target path selection. If the target path is dynamic, it can be specified at runtime using an arrow. |
Section: Existing Files
| Property | Description |
|---|---|
| Action | Overwrite: Target file is completely replaced by new file. Generate error: If the target file 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: Moves the existing file to a specific directory. |
Section: File Settings
| Property | Description |
|---|---|
| Dynamic or static file name | Select a static file name or transfer a file name at runtime using an arrow. |
| Prefix UTC timestamp | If enabled, the current UTC timestamp is prefixed to the file name. For example, the file "test.txt" becomes "20191204_095646_test.txt". |
| Write binary data | Select this option if you want to write a binary file. (E.g., *.doc, *.jpg, * .xlsx). |
| Write text | Select this option if you want to write a simple text file. You can also select the file encoding. |