The Filesystem DataSource Wizard is shown in Figure 12.1, “Filesystem DataSource Wizard”.
Name: Enter the DataSource name in the text box. This should be a unique name.
Description: Any extra description that is used to describe the data source can be entered here.
Root: Choose the root directory from where files will be chosen.
Strip Prefix: This allows characters to be stripped from the beginning of the directory and path. For example the file C:\Temp\Sample.ds with Strip Prefix value C:\ will give a Directory of Temp and a Path of Temp\Sample.ds. Note that the prefix is not stripped from URLs - they remain absolute.
Recurse into subdirectories: If this checkbox is enabled, files will be selected from the root directory and any subdirectories recursively.
The records returned by this data source can be manipulated by subsequent processors. For example to obtain only XML files, you can filter by extension. To get the files sorted by name, size or date, just add the appropriate sort processor.