Skip to content

List Files from FTP

This task will provide a list of files contained within a directory on a remote FTP server.

Settings

FTP Connection

Required
The FTP Connection to delete from. See the Connecting to FTP Server article for more information on how to create/manage connections.

Directory

Required
Initial Directory to move to on FTP Server e.g. /webdata. It is important that you use the 'Text or script' data type instead of 'Folder, HTTP or FTP location' for this setting. This will prevent Zynk treating it as a relative path and converting it to an absolute path on the local file system.

List Recursively

Required
Set to true to list files in sub-directories of the directory specified.

Output File

Optional
Name of the file to be created with the list of files. The output format is an XML document containing the list of files.

Search Pattern

Optional
The search pattern to use to filter the results returned. Supports both the * and ? wildcards. For example, *.xml will only list files with the .xml extension.

Zynk Settings

See Common Task Settings