Used to scan a directory and all sub-folders and Iterate over the list of files.
This Connector reads a Property called "ScanDirectory" to determine where to begin the file scan. It then build a list over all files, also in sub-directories, and returns the following Attributes:
- fileIndex is a counter from 1 to the total number of files found
- fileName is the short name of the file (name.extension)
- filePath is the full canonical path to the file
- fileLastModified is the number of seconds since 1 Jan 1970 when this file was last modfied.
This Connector supports Iterator mode (since selectEntries and getNextEntries functions are implemented), and if you use the Delta Engine as well and do not map in the fileIndex Attribute, you should have an effective solution for returning only new, deleted and modified files.
--
EddieTheHartman - 10 May 2007