Get Files
Description
Lists remote files, optionally including subfolders and filtering by name.
Prerequisites
Create and test a FTP connection with access to the remote paths used by the activity. Paths identify locations on that server, not on the workflow host.
Shared settings
Select Connection Name. Use Process Data for dynamic path values. Configure execution control and On Error as required.
Inputs
| Property | Description |
|---|---|
| Remote Path | Directory to list. The designer default is /. |
| Recursive | Include nested directories. Default: False. |
| File Name Pattern | Optional case-insensitive wildcard filter. * matches any sequence and ? matches one character. Leave empty for all files. |
Outputs
Files: collection of file references. File Count: number returned after filtering.
Behavior
The file and folder outputs are provider-backed references with expandable metadata such as name, full path, size for files, and last-modified time where the server supplies it. Bind the whole reference to a compatible file/folder input; bind Full Path when another FTP activity requests a path string. Retrieving a reference does not copy the bytes to the workflow host. Returned order is not guaranteed.
Example
Set Remote Path to /inbox and File Name Pattern to *.csv. Iterate over Files and pass each Current Item to a file-consuming activity.