Frends.SFTP.ListFiles / 3.0.0
Summary
Lists what is on an SFTP server, optionally recursing, and can distinguish files from directories.
Typical use — checking whether a partner has delivered anything before committing to a transfer
Source transfer options
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| Directory | String |
/ |
/directory/test/ |
Directory on the server. |
| FileMask | String |
– | *.txt |
Pattern to match (Optional). |
| IncludeType | IncludeType |
File |
IncludeType.File |
Types to include in the directory listing. Possible values:
|
| IncludeSubdirectories | Boolean |
– | true |
Include subdirectories? |
| FileEncoding | FileEncoding |
ANSI |
FileEncoding.ANSI |
Encoding for the file names. By selecting 'Other' you can use any encoding. Possible values:
|
| EnableBom | Boolean |
False |
true |
Additional option for UTF-8 encoding to enable bom. |
| EncodingInString | String |
– | utf-8 |
File encoding to be used. Encoding don't support any unicode encoding. It only support the code page encodings. A partial list of possible encodings: https://en.wikipedia.org/wiki/Windows_code_page#List. |