FTP Repeater
The FTP Repeater task will allow you to run a series of sub-tasks against all the files in the directory on the remote 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.
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
Context Variables
The following variables are available to this task. To use these variables, reference them in templates as @Context.Current["Name"]
, or within other task settings using the Razor option.
- Name
- Extension
- NameWithoutExtension
- Directory
- Server