A user can control the order of transfer for files added to a watchfolder by
configuring the watchfolder to send with packages. Watchfolder uses a file list to determine
the files in a package and the order in which they are transferred. The last file in a file
list is designated to be transferred last. It will not be transferred until all other files
included in the file list have been transferred. Using watchfolders with file lists supports
workflows that trigger when detecting the presence of a particular file, but require the
presence of a particular set of files to function correctly. For example, a workflow that
builds a project dependent on the existence of other files will fail if the trigger file is
transferred before those other files have been transferred. Using a file list ensures the
trigger file is not transferred until the rest of the files have been transferred.
To
configure a watchfolder to work with package sending, first add the source host to Console
as a managed node. Then, follow the instructions below to create a new watchfolder and
configure the Package List options.
Your watchfolder is now ready to transfer files with file lists. Once you add the files
and the file list into the source directory, watchfolder detects the addition and starts
transferring the files. Watchfolder transfers all files before transferring the last file in
the list.
In this example, watchfolders transfers all
files before transferring the last file: "ADI.XML".