Skip to content
background-image background-image

File writer

[ | version 3.1]

Connector

The connector is forbidden for use by the platform background agent.

Connector processing type: Row by row!

The file write connector enables the writing of any named file to the specified location. The connector expects the directory where to write the file as well as its name and the file itself.

There are 3 modes of writing available with this connector: Overwrite file if exists, Append to the end of existing file, Create new file including timestamp.

You can use the property Create non existing folder to ensure that the folders and subfolders (if not exist) are created as part of the integration process and the integration doesn't fail on the non-existence of the specified directory.

Configuration

File write mode configuration

Write mode

This configuration defines the mode of the writing of the file to the specified location.

Write mode Description
Overwrite file if exists Existing file will be overwritten. Previous content will be replaced with the new one.
Append to the end of the existing file New content will be added to the existing file at the end of the existing content. Reasonable application for files like .txt, .csv, and log files generally.
Create new file including time stamp New file will be created with the specified filename and a timestamp will be included at the end of the filename.

Create non existing folder

If you check in the property create non existing folder it will enable the creation of non-existing target folder, including the subfolders provided in the input data schema as a Directory.

The default value of the property is set to true.

Input & Output Schema

Input

File write (ver, 1.0.0)

Column Data type Allow null Description
Name string No Name of the loaded file, e.g. MyTextFile.txt.
Directory string No Directory from which the file was loaded, e.g. C:\Tmp.
Data Base64 No The contents of the loaded file encoded in the Base64 string.

Output

This connector does not require a schema.

Release notes

3.1.0

  • 3.1.0 - Create non-existing folder structure.

3.0.5

  • Updated package binaries because of changes in another included connector.