Observed file

Local observed file is specified by directory path and file name pattern.

Remote observed file is specified by URL, credentials and file name pattern.

User may specify just one exact file name or file name pattern for observing more matching files in specified directory. If there are more changed files matching the pattern, separated event is triggered for each of these files.

There are three ways how to specify file name pattern of observed file(s)

Exact match

You specify the exact name of the observed file.

Wildcards

You can use wildcards common in most operating systems (*, ?, etc.)

  • * - Matches zero or more instances of any character

  • ? - Matches one instance of any character

  • [...] - Matches any of characters enclosed by the brackets

  • \ - Escape character

Examples

  • *.csv - Matches all CSV files

  • input_*.csv - Matches i.e. input_001.csv, input_9.csv

  • input_???.csv - Matches i.e. input_001.csv, but does not match input_9.csv

Regular expression

Examples

  • (.*?)\.(jpg|jpeg|png|gif)$ - Matches image files

Notes

  • It is strongly recommended to use absolute paths with placeholders. It is possible to use relative path, but working directory depends on an application server.

  • Use forward slashes as file separators, even on MS Windows OS. Backslashes might be evaluated as escape sequences.