SFTP Writer

 

Introduction

Our SFTP writer task enables you to connect to your SFTP server based on the selected connection and write the required file as per the configuration. After you complete the configuration for the SFTP writer task, then you should name the output file and once the execution is successful, then you will receive the written file or the output file in the provided directory address.

Steps to configure

  1. Drag and drop the SFTP writer task in the automation and click on it. The form below will appear on the right side of the screen.

     

  2. Add an appropriate name and description.

  3. Select the existing connection that has been created for the SFTP sink or create a new one from the plus button.

  4. Now, add the directory path. It’s a location where the output data will get saved.

  5. Name the output file in the file name input field. A file name is the complete title of a file and file extension.

  6. Now, feed the output data of the last task to the data slot input field. To do so, click on the data slot button on the left and just drag and drop the desired data into the input field. This input field contains the different types of file information for future use.

  7. Click on save to complete the configuration.

Additional Properties 

The additional properties for SFTP writer are as follow:

You can add a suffix related to time details to your file as per the time stamp.

  • appendTimestamp: You can append timestamp by using appendTimestamp. It’s another type of local file, that’s created for allowing you to develop an archive copy of the project locally. You will need to select yes on the value field if you need a customized timestamp format.

Not selecting any value will generate the standard version.

Standard version/default value format : filename_timestampvalue.

  • TimestampFormat: You can modify the time stamp format as per your requirements. This property identifies the format for timestamps that are displayed on a form or maintained in a JSF handler.

You can provide any combination of (yyyy-mm-dd-hh-mm-ss) in the value input field.

  • yyyy stands for a year

  • mm stands for the month

  • dd stands for the date

  • hh stands for hour

  • mm stands for a minute

  • ss stands for a second

Example : dd-mm-yyyy-hh-mm-ss : 28-10-2021-02-20-07.

Here, 28-10-2021 is representing the date, month, and year and 02-20-07 is time respectively i.e 2 hours 20 minutes, and 7 seconds.