Ignoring routing of temporary files
Some organizations configure their FTP environment to place a file in a mailbox with a temporary name, then rename the file, with the intention of routing only the renamed file. Sterling File Gateway provides the capability to assign a special status, Ignored, to these temporary files so they are not listed as Failed.
About this task
To configure Sterling File Gateway to ignore routing of temporary files:
Procedure
- Open the following file:<install_dir>\properties\customer_overrides.properties
- Add the following parameter to the file:
filegateway.ignoreFilenamex=TEMP(.*)[.]txt
where TEMP(.*)[.]txt is the regular expression pattern that should be ignored. This pattern is checked before any patterns in a routing channel template. The value for ignoreFilenamex is limited to 255 characters. See filegateway.properties. - Run ./setupfiles.sh (UNIX) or setupfiles.cmd (Microsoft Windows).
- Restart Sterling File Gateway.