SFTP List
Use this activity to list the files and directories along with the metadata from the specified directory on the SFTP server.
Settings
The Settings tab has the following field:
| Field | Description |
|---|---|
| SFTP Connection | Name of the SFTP connection |
Input
The Input tab has the following field:
| Field | Description |
|---|---|
| Remote Directory | The path and name of the directory on the remote server. |
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 |
|---|---|
| File Metadata | A repeating element containing the file metadata. |
| Name | Name of the file. |
| Size | Size of the file. |
| Mode | File mode bits. |
| Modtime | Modification time of the file. |
| IsDir |
The value The value |
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. |