SFTP/FTP Reader
Description
Regularly polls an SFTP or FTP directory for files, and matches the files against specified criteria. Files matching the criteria are downloaded.
Assembly: iCore.Workflow.Activities.Ftp
Category: SFTP/FTP
Arguments
| Name | Type | Description |
|---|---|---|
| Connection | IFileTransferConnection | The connection on which to start a reader. |
| Delete server file | Boolean | Specifies if the file should be deleted from the server after being downloaded. |
| Error on timeout | Boolean | Specifies if an error should be raised when timeout is reached. |
| Filter options | RegexOptions | Options for pattern matching in filter. |
| Filter pattern | String | Regular expression applied as filter on files returned by the server for example \b[a-z0-9]+.txt. The expression is not case sensitive. |
| Local directory | String | The directory where the downloaded file should be stored. |
| Local filename | String | The name that the downloaded file should have when stored. |
| Move file to | String | If set, the file will be moved to the specified location on the server before being downloaded. |
| Rename file | Boolean | Specifies if the file should be renamed on the server before it is downloaded. |
| Scan directory | String | The directory of the SFTP or FTP server where the reader should scan for files. |
| Scan filter | String | The filter that will be applied (according to 'Scan filter options'). Filter examples: *.* or *.xml. Default: “*”. |
| Scan filter options | FileTransferFilterOption | Specifies how the scan filter is used. |
| Scan interval | Int32 | Time interval in seconds between file searches. Default: 30 |
| Settle time | Int32 | The time in milliseconds that a file must have been untouched by any Events before it can be processed. Default: 0 |
| Timeout | TimeSpan | The timeout for getting the next file. If timeout is reached and 'Error on timeout' is set to False, the activity will complete with out arguments having null values. |
| Local file path | String | The path to the stored local file. |
| Local filename | String | The name of the stored local file. |
| Original file path | String | The path to the original file on the server. |
| Original filename | String | The name of the original file on the server. |
| Processing file path | String | The path to the processing file on the server. |
| Processing filename | String | The name of the processing file on the server. |