Skip to main content

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 specified as constants. You can configure the transfer object directly within the flow 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 when different files need to be written.

Static:

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

"Connection Settings" section​

PropertyDescription
If file is already available

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 filename can be passed dynamically as a parameter at runtime. This is useful when multiple files need to be written.

Static:

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

Prefix with UTC timestampIf enabled, the current UTC timestamp is prepended to the filename. 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 for writing output values from other TOs, such as JSON.

EncodingIf “Write Text” is selected, the encoding can be chosen. The default is UTF-8.