Operators deﬁne how Sterling Connect:Direct Integrated File Agent tests for the match criteria using the compare value to evaluate properties of a detected ﬁle.
Review the operator functions in the following deﬁnition list for how rules are processed and guidelines for creating rules.
To deﬁne a rule that instructs Sterling Connect:Direct Integrated File Agent to search only the directory speciﬁed by the path for the ﬁle name that match the speciﬁed compare string exactly.
The compare string can include the wildcard characters asterisk (*) and question mark (*?). For example, typing "C:\Data\ABC*" as the string to match causes Sterling Connect:Direct Integrated File Agent to process the rule after detecting any ﬁle name beginning with ABC in the "C:\Data" directory.
The matches operator requires an exact match for any character except wildcards. This operator requires careful planning to ﬁlter ﬁles successfully.
Unless you match only on the end of a ﬁle name, you must include the path as part of the match string. For example, "*.txt" will correctly match any ﬁle in watch directories ending in ".txt". However, "09*.txt" will not match on a ﬁle name "09March.txt". Instead, use "<path>/09*.txt" or "*/09*.txt" where <path> is the full path to the watch directory, such as "C:\Data".
To deﬁne a rule based on characters to exclude. The path and ﬁle name are checked against the compare string and Sterling Connect:Direct Integrated File Agent processes the rule when it detects any characters other than those speciﬁed in the string.
The compare string can include the wildcard characters asterisk (*) and question mark(?).
To deﬁne a rule in which Sterling Connect:Direct Integrated File Agent filters for a fully qualified path or ﬁle name that contains the text speciﬁed as compare string. This is the most versatile operator because it requires only that the compare string exist in any position within the string.
To define an exact match between the fully qualified path and file name or size of the detected file, and the text string or size specified for comparison. This operator requires an exact match for every character position, so use it only when you know the entire file name.
The detected ﬁle size must be smaller than the size speciﬁed for comparison.
The detected ﬁle size must be larger than the size speciﬁed for comparison.