Skip to main content

Delete File

Delete File Transfer objects can delete files. File name patterns can be selected from a database or specified as constants. You can configure the transfer object directly within the flow as described.

After double-clicking the transfer object, configure the following properties:

PropertyDescription
PathSelect the directory from which files are to be deleted.
File Name PatternSpecify whether the file name pattern is passed to the OPC Router statically or dynamically via an item link. File name patterns can use * as a wildcard.
Include SubfoldersIf enabled, subfolders are also checked for files matching the filename pattern, and files are deleted if applicable.
Delete Without RestrictionsDeletes all files that match the filename pattern.
Delete files older thanDeletes only files that are older than the specified time period.