Frends.FTP.ListFiles / 2.0.0
Summary
Lists what is on an FTP or FTPS server, optionally recursing, and can distinguish files from directories.
Typical use — checking whether a partner has delivered anything before committing to a transfer
Input parameters.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| Directory | String |
/ |
/ , /SubDir |
Path to file(s). |
| FileMask | String |
– | test.txt, test*.txt, test?.txt, test.(txt|xml), test.[^t][^x][^t], <regex>^(?!prof).*_test.txt |
FileMask.
The file mask uses regular expressions and for convenience it handles * and ? like wildcards (regex .* and .+).
Parameter can begin with |
| IncludeType | IncludeType |
File |
IncludeType.File |
Types to include in the directory listing. Possible values:
|
| IncludeSubdirectories | Boolean |
– | true |
Include subdirectories? |