Signiant Support

How to pass a list of files to the finalize commands Print


At times, it may be desired to collect the names of the transferred files to be used in the source or target finalize commands.

Solution 1

One solution would be to collect the filenames into a temporary file using any of the  'source or target filename mapping', 'source or target pre-file  transfer' or 'source or target post-file transfer' commands.  The temporary file would then be used by the relevant finalize command.

Solution 2

Another solution could be used if only a small number of files (2 or 3) are expected in the transfer. It may be possible to collect a small number of filenames in a global variable.