Edit Add a file or picture Printable page Raw Text Page change history More options

Scripted FileScan Connector

Used to scan a directory and all sub-folders and Iterate over the list of files.

Here is the TDI 7 version which you can simply drop into your Project:

This Connector has a custom Config form with the available parameters, like the directory to scan, if the scan is recursive and so on. It then build a list over all files, also in sub-directories, and returns the following Attributes:

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 or scanTime Attributes, you should have an effective solution for returning only new, deleted and modified files.

Here is the TDI 6 version, which is a script that you drop into a Script Connector.

-- EddieTheHartman - 30 July 2010