Skip to main content

Folder Scanner

The Folder Scanner South connector periodically scans a specified input folder for new files based on regular expressions (Regexp) defined in its items. Matching files are transmitted to North caches.

Specific Settings

SettingDescriptionExample Value
Input folderPath of the folder to scan. Can be absolute or relative (relative to the Data folder - see the About section). Supports remote paths (e.g., /remote.server/data or Z:\Remote disk\DATA). Case-sensitive./data/input or Z:\Files
Enable compressionIf enabled, files are compressed using gzip before being sent to North caches.Enabled/Disabled
User Access Requirements

The user running OIBus (terminal user or service account) must have read access to the input folder. If Preserve file is disabled, write access is also required to delete files.

Item Settings

SettingDescriptionExample Value
RegExpRegular expression to filter files..*\.csv|.*\xlsx → CSV or Excel files
Minimum ageMinimum age (in ms) for files to be retrieved. Avoids corrupted files still being written. Default: 1000 ms.1000
Preserve fileIf enabled, files are not deleted after retrieval. Useful if other applications need access. OIBus tracks modification time to avoid re-retrieving unchanged files.Enabled/Disabled
Ignored modified date(Requires Preserve file) Forces retrieval even if the file's modification time hasn't changed. Useful for ensuring files are always processed.Enabled/Disabled

Regex Tester

Common Examples:
  • .* → All files
  • .*\.txt → Text files
  • .*\.csv → CSV files
  • .*\.csv|.*\.xlsx → CSV or Excel files
  • data_.*\.json → JSON files starting with "data_"