Connector™ Folder Configuration

This is the configuration panel for a File/Folder source in Connector



  1. The source folder is the root under which file polling takes place
  2. Explore subdirectories will cause the polling service to look in all subdirectires as well.  Unchecked will look in source folder ONLY.
  3. This is a regular expression for filtering input file types.  It is a regular expression so:
    1. Make sure you escape a dot like so "\."
    2. It is possible to OR multiple options together with a pipe such as "\.tif|\.tiff"
  4. This regex must be configured in order to extract data from the source file name.  Make any piece of data that you need to capture into a regular expression capture group.  Again since this is a string being passed into a regular expression processor, make sure you escape dots and slashes.  In the example provided in the image above "c\:\\([^\\]*)\\([^\\]*)\\([^\\]*)\\([^\.]*)\.([^\.]*)" this will capture each of the 3 subfolders into capture group 1, 2, 3, then the file name up to the dot is captured into group 4 then the file extension goes into group 5.
  5. Regular expressions are complicated so this button launches the test dialog.  Here you will input an actual file path and press the TEST button

    The test results are then displayed on another panel where each capture group is a column.  Note one useful feature of .NET regular expression processing is that the group 0 is always the entire matched string: