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 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 file content in binary mode. This field is visible when Use Process Data is set to |
| 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
The Loop tab is useful when an activity needs to use the loop feature to do batch processing or fetch multiple records by running the activity multiple times. With each iteration of the activity, the output is available for mapping to the activity input.
| Field | Description |
|---|---|
| Type |
You can select type of loop. Note: The default type is None, which means the activity does not iterate.
|
| Iterate | You can enter a number that represents the number of times you would like the activity to iterate without considering any condition for iterating. |
| Repeat while true | You can select this type if you want to set up a condition for the iteration. |