Skip to main content
Version: 5.3

File trigger

The File Trigger executes a transfer if a file gets changed or created.

Grenzwert-Trigger

After double-clicking on the transfer object, set the following properties:

PathSelect the path to observe.
Fallback scan intervalThe OPC Router gets notifications if files get changed or being created. If it misses a notification, it will observe the directory additionally in this interval.
Filename patternDefine a filename pattern. You can use placeholders like *.
Read binarySelect this option if you want to read a binary file like *.doc, *.jpg, * .xlsx, ...
Read Text, EncodingSelect if you want to read a simple text file and select the files encoding.

Target options

Delete after successful transferDeletes the file which triggered the trigger after a successful transfer.
Success destinationMoves the file which triggered the trigger in a special folder
Prepend UTC Timestamp to filenameActivate if you want to prepend the UTC timestamp to the file. For example the file “test.txt” gets renamed to “20191204_095646_test.txt”.
Delete after error transferDeletes the file which triggered the trigger if a transfer aborts for some reason
Error destinationMoves the file which triggered the trigger in a special folder if the transfer gets an error
Prepend UTC Timestamp to filenameActivate if you want to prepend the UTC timestamp to the file. For example the file “test.txt” gets renamed to “20191204_095646_test.txt”.
Number of retriesIf the OPC Router can't access the selected file, it can retry for n times.
Seconds between triesSelect the time between the retries.