List Remote Files
This task allows you to list the files in the specified directory on the remote server. You can control if you want to recursively list sub folders, and provide a search pattern to filter the files returned.
Settings
Connection
Required
The connection to the remote server, see Connecting to a Remote Server for details.
List Recursively
Required
Set to True
to list files in subfolders, or False
to only include files in the remote directory. Defaults to False
.
Output File
Optional
The location to export the file list to, if not specified the list of files will be chained as the input to the next task.
Remote Directory
Required
The path to the remote directory e.g. /site/wwwroot
.
Search Pattern
Optional
The search to use when listing files e.g. *.xml for only XML files.