Sftp Monitor
You can monitor a remote folder for changes, or other criteria.
This task can be used in two ways:
1) If a change is detected in
this task, you can run another task, or
2) The Sftp Monitor task
can also be embedded within a Chain task. In the chain task, it is
used for conditional task processing.
The SFtp Monitor task also outputs a variable called 'TaskTitle::Filenames". This variable contains the list of all files, that satisfy the monitoring criteria. The format of this variable is #file1^#file2^#file3, where file1,file2,file3 are the names of the files that have been modified. You can use this variable directly as the filename in other copy, ftp, delete tasks to copy/ftp/delete only these files. This variable is only updated if the filename, filesize, or filedate criteria options are selected.
Directory
Enter the remote folder that you wish
to monitor
Filename
Enter the
filename filter for the files you wish to copy using
the following wildcard rules.
This field also supports
dynamic variables. Using
dynamic variables, you can select a file based on current date/time.
Task To Run
Select the desired task to run, if
any of the selected criteria are met. If you want to use this
task in a chain for conditional processing, select 'None'. You
can also select multiple tasks, to run in sequence, or to run
simultaneously. To run tasks in sequence, use
taskTitle1|taskTitle2|taskTitle3. To run tasks simultaneously, use
taskTitle1&taskTitle2&taskTitle3.
Options
The Task will be run, if any of the
following selected criteria are satisfied. You can select 1 or
more criteria.
1) Any change is found in the directory,
since the last run of this task. This option does not update
any of the dynamic variables.
2) Files which satisfy the
Filename criteria exists
3) Files which satisfy the
Filename criteria, as well as file size criteria
4) Files
which satisfy the Filename criteria, as well as date modification
criteria
5) Total number of files in directory are
greater/less than certain value. This option does not update any of
the dynamic variables.
SFtp Profile
Select the SFtp profile for the
SFtp server, you need to connect to. You should have previously
created a SFtp profile, using the SFtp Profiles menu item.