Skip to main content

Default file Connector

Default file Connector is used to handle Files in AWS S3

Default file-Connector features:

  1. Ability to read Files from s3
  2. Writing Files to s3

Operation available:

  1. Move file within the S3 bucket
  2. Delete file from the S3 bucket

Configuring File Connector

Reft click on connector, you can define the File Connector configuration

Here are different instances demonstrating how to access the information within a file and create a file based on a specific structure. Each illustration includes a quickintegration application utilizing DataWeave for both reading and writing files.

Read File Operation

Select the Default radio button and define configuration for file connector to read a file by selecting operation as Read. Add destination in properties to poll the file. Provide the file name and select operation(MOVE or DELETE) to define further course of action for the file read from the destination.

FieldsDescriptionExample
Type of file connectorFile connector to be used for the file operationDefault
File OperationRead/WriteRead
Datasource NameDatasource name which is configured in connections properties Please refer the link for instructions on creating the ConnectorfilePath
File Name/ Full pathName of the file to be processedtemp
File TypeFormat of FileCSV
OutPutOutputreaderO
OperationOperation of the fileMove
DestinationDestination with file name, to move the file within the s3 bucket/app/Schemas/Customers

Write File Operation

Define configuration for file connector to write a file by selecting operation as Write. Add destination in properties to write the file. Provide the file name and file type(XML, JSON etc.). Please select Append to continue write operation in the same file or select OverWrite to overwrite the file every time operation is performed.

FieldsDescriptionExample
Type of file connectorFile connector to be used for the file operationDefault
File OperationRead/WriteWrite
Datasource NameDatasource Name which is configured in connections properties Please refer the link for instructions on creating the ConnectorSuccessrecords
File NameProcessed FileContacts
File TypeFormat of FileCSV
InputInputREQUEST_PAYLOAD
Append/OverWriteSelect "append" to add the request or choose "overwrite" to modify the requestOverWrite