Skip to main content
Version: 5.6

Network File Access File Write Transfer Object

Network File Access File Write Transfer Objects can write files and modify existing files. File paths can be selected from a database or as constants. You can configure the transfer object directly within the connection as described.

The following properties can be configured:

PropertyDescription
ConnectionPlug-in instance to be used

"Output path" section

PropertyDescription
Output path

Dynamic:
The output path can be passed dynamically as a parameter at runtime. This is helpful if different files are to be written.

Static:

A static file path must be configured in the transfer object. This setting should be used if only one file is to be written.

"Connection Settings" section

PropertyDescription
If file already exists

Overwrite:

If the file already exists, it will be overwritten.

Generate error:

If the file already exists, the transfer will be aborted with an error.

Ignore:

If the file already exists, nothing will be written.

"File Settings" section

PropertyDescription
Dynamic or Static File Name

Dynamic:
The file name can be passed dynamically as a parameter at runtime. This is helpful if different files are to be written.

Static:

A static file name must be configured in the transfer object. This setting should be used if only one file is to be written.

Prefix UTC timestampIf 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 or text

Write binary file writes binary data (e.g., *.doc, *.jpg, *.xlsx). Write
text is suitable for simple text files (e.g., *.txt) or output values from other TOs such as JSON.

EncodingIf Write text is selected, the encoding can be selected. The default is UTF8.