| Watch Folders and the Aspera Watch Service |
181
"type": "NODE_BASIC",
"user": "
access_key_id
",
"pass": "
access_key_secret
",
}
Meta Fields
{
...
"meta":{
"version":0,
"name":"aspera_watchfolder"
},
...
}
Field
Description
Default
version
Specifies the current version of the configuration. When updating the
configuration, this value must match the version stored by the server.
Otherwise, the update is rejected.
0
name
The value specified in this field is added to the cookie reported by
ascp
. Optional.
N/A
Drop Fields
Watch Folders groups new or updated files it detects in its source folder into "drops". A drop is defined by the
duration set by the
snapshot_creation_period
. All files in a given drop are transferred in the same transfer
session, post-processed together, and reported as a unit.
{
...
"drop":{
"detection_strategy":"COOL_OFF_ONLY",
"cool_off":"5s"
},
...
}
Field
Description
Default
detection_strategy
The strategy that Watch Folders uses to create drops when new files
are added to the source folder:
•
COOL_OFF_ONLY
: The drop includes new files added to the
source folder within the duration of the
cool_off
field.
•
TOP_LEVEL_FILES
: Create a drop for each file placed in the
top level of the source folder.
•
TOP_LEVEL_DIRS
: Create a drop for each directory added to
the top level of the source folder. This drop also includes the sub-
directories and files in the top level directory.
COOL_OFF_ONLY
cool_off
The time after the first new file is added to the source file during
which any other new files are included in the same drop. This
setting is only relevant for the
COOL_OFF_ONLY
detection
strategy. Aspera recommends choosing a multiple of the specified
snapshot_creation_period
for predictable results.
5s