PathCrawlRegex

A Perl-compatible regular expression that specifies the folders to search for files. The connector only searches folders that meet all of the following criteria:

  • the folder is within the location specified by DirectoryPathCSVs
  • the full path of the folder matches the regular expression
  • the full path of all parent folders (up to the folder specified by DirectoryPathCSVs) match the regular expression.

If a folder does not match the regular expression, all of the subfolders that it contains are ignored (even if those folders do match the regular expression).

Type: String (regular expression)
Default: .*
Required: No
Configuration Section: TaskName or FetchTasks
Example:

You can use numbered parameters:

PathCrawlRegex0=C:\\files\\folder\\.*
PathCrawlRegex1=C:\\files\\folder2\\.*

See Also: PathNoCrawlRegex