Skip to content

Remote File Repeater

This task allows you to repeat over the files in the specified directory on the remote server, and for each file run a series of sub-tasks. 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.

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.

Zynk Settings

See Common Task 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
  • ProtocolType
  • FullName