SFTP Put

Use this activity to upload a file to the specified server. You can use process data as the content of the file to send to the remote server or you can send files from local disk storage. If using process data or locally stored files, you can place only one file on the remote server.

Settings

The Settings tab has the following fields:

Field Description
SFTP Connection

Name of the SFTP connection.

Use Process Data

Specifies to use process data as the content of the file to place on the remote server. Set Use Process Data to true to place only one file on the remote server.

Note: You must set this field to true to allow the SFTP Put activity to work in TIBCO Cloud Integration.
Overwrite Existing File Set Overwrite Existing File to true to overwrite any existing files with the same names on the SFTP server. If set to false, any attempt to write a file to the remote server with the same name as an existing file appends the data to the file.

Input

The Input tab has the following fields:

Field Description
Remote File Name The path and name of the file to place onto the remote server.
Binary Data

Specifies to send the base64 encoded file content. This field is visible when Use Process Data is set to true.

Local File Name

The path and name of the local file.

Note: This input item is not available when Use Process Data on the Settings tab is set to true.

Output

The Output tab displays the output schema of the activity as a tree structure and it is read-only. The properties that are displayed in the schema correspond to the output of this activity and can be used as input by subsequent activities in the flow.

Field Description
Files Transferred A repeating element containing the File Name and Number of Bytes (file size) that were transferred.
File Name The path and name of the remote file transferred.
Number of Bytes The number of bytes contained in the associated file name.

Loop

For information on the Loop tab, see Using the Loop Feature in an Activity.

Retry on Error

The Retry on Error tab is used to configure the number of retries for activities that encounter errors that can be fixed on retrying. This can be configured for errors, such as server startup delays, intermittent connection failures, or connection timeouts.

To configure the number of retries, set the count and the interval in any of the following ways:

  • Manually type the value in the mapper.

  • Map the value from the previous activity.

  • Select a function from the list of functions.

  • Map an app property to override the values.

Field Description
Count Specifies the number of retry attempts for the activity. Enter an integer value.
Interval (in milliseconds) Specifies the delay (in milliseconds) between retry attempts. Enter an integer value.