Skip to main content
Version: Current

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​

PropertyDescription
Remote PathDirectory to list. The designer default is /.
RecursiveInclude nested directories. Default: False.
File Name PatternOptional 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.