This component allows you to search for files in directories according to search criteria. The files that are found by the File Spool Connector component are sent file by file to the next component of the scenario tree.
|
Note: This File Spool Collector has its own Log Action that logs the data collections rejected, accepted, or filtered. Do not insert any Log Action component after the File Spool Collector component. Log files are stored in the log directory and named depending on the following syntax:
Where:
|
This tab allows you to:
Create a table of directory paths where the File Spool Collector must search for files
Choose the search criteria that are associated to each directory path
: Adds a new row to the Paths table.
: Removes a row from the Paths table.
: Opens the Open dialog box to choose a directory on your computer.
Paths: In each of the new row, type the directory path where the File Spool Collector must search for files. You can also open the Open dialog box, and then select a directory on your computer.
Recursive: If this option is selected and if the directory contains subdirectories, the File Spool Collector searches for files in all the subdirectories.
Search Criteria: Choose one of the following search criteria
Select all files: The File Spool Collector searches for all the files
Select files with a specific extension: The File Spool Collector searches only for the files whose extension you type
Select files with a specific name: The File Spool Collector searches only for the files whose name you type
All the files that are found by the File Spool Collector make up a resource available for the next component of the tree.
Resource Key: Type the name of the set of files found by the File Spool Collector. The next components of the tree use this key to access to these files.
Files sort: Provides the list of sort criteria. Select a criterion if you want that the File Spool Collector sorts the files before processing them. Otherwise, select None.
Decreasing: Click to sort the files in decreasing order
File Filtering:
Do not load file that has already been processed: If this option is selected, the File Spool Collector do not process the files that it has already found.
This tab allows you to encode every file read by the File Spool Connector.
Input File Encoding: Provides the list of encoding formats compliant with a Java Virtual Machine. Select an encoding format or select Default (UTF-8).