IBM Aspera HST Admin Manual page 183

High-speed transfer server
Table of Contents

Advertisement

Filter Fields
Each filter object must include values for "type", "pattern", and "rule". Filters are applied in order. Watch Folders
supports glob and Regex filters. The glob filter system is the same as Ascp; see
Files
on page 126.
{
...
"filters":[
{
"type":"GLOB",
"pattern":"*.txt",
"rule":"INCLUDE"
},
{
"type":"GLOB",
"pattern":"/**",
"rule":"EXCLUDE"
}
],
...
}
Field
Description
type
The type of filter. Supported filters are GLOB and REGEX.
pattern
The filter pattern.
rule
The rule for the filter. Supported rules are INCLUDE and EXCLUDE.
Note: An include rule must be followed by at least one exclude rule,
otherwise all files are transferred because none are excluded. To
exclude all files that do not match the include rule, use /** for glob
or .* for Regex.
Packages Fields
Packages values are used to define an order for the transfer queue. For example, if file B depends on file A, file A
must be transferred before File B. Dependencies are defined by package files, where the package file contains the set
of files on which it depends. The package file (by default) is transferred after successfully transferring all the files
defined in the package file
{
...
"packages":{
"timeout":"10s",
"parsers":[
{
"final_transfer":"LIST",
"filters":[
{
},
{
}
],
"type":"REGEX",
"rule":"INCLUDE",
"pattern":".*\\.txt"
"type":"REGEX",
"rule":"EXCLUDE",
"pattern":".*"
| Watch Folders and the Aspera Watch Service | 183
Using Filters to Include and Exclude
Default
N/A
N/A
N/A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents