File Output Transporter Module Parameters

The File Output transporter obtains data from the previous module specified in the adapter configuration file and writes it to local files. Set values for this transporter in the adapter configuration file.

Parameter Description
Dir

Type: string

(Required) Specify the absolute path to the data files that you want the adapter to write to. For example, <username>/<foldername>. The default value is ".", meaning the current directory in which the adapter is running.

Use a forward slash for both UNIX and Windows paths.

File

Type: string

(Required) Specify the file to which you want the adapter to write.

AccessMode

Type: string

(Required) Specify an access mode. The adapter supports two modes:
  • rowBased – the adapter writes one text line at a time into the file
  • Streaming – the adapter writes the raw data in ByteBuffer into the file
No default value.
AppendMode

Type: boolean

(Optional) If set to true, the adapter appends the data into the existing file. If set to false, the adapter overwrites existing content in the file. Default value is false.