Using the Fileset protocols without a custom TPS procedure
Without any procs at dirparse or delete, the Fileset and Fileset FTP protocols contain every file that is in the references directory. Every retrieved file is deleted after it is processed.
When this is not the case, you must have Tcl procs at the directory parse or file delete UPoCs. For example:
- You only require a few files in the directory at directory parse.
- You do not require files that are retrieved during directory parse, then processed deleted.
- You do not require to rename, move, or archive the files before processing, after directory parse or before deletion.
Example:
There are no procs. Directory "A" has files "a," "b," and "c" at the time the directory parse is run in the Fileset protocol.
In this case, each of the files is read, and each record in each file becomes a message to the system.
As a file is finished processing (file "a" first), that file is then deleted. The records of that file have passed through the system to where they were directed. File "a" is processed and deleted. File "b" is processed and deleted. File "c" is processed and deleted.
Directory parse happens at the next interval and if there are more files they are processed in the same manner.