Watch Folder service configuration
The configuration for the Aspera Watch Folders service is in the <server>
section of aspera.conf. It includes drop and file management and enabling the
use of raw options (ascp options that are not yet directly included in Watch Folders).
<server>
<rund>...</rund>
<watch>
<log_level>log</log_level>
<log_directory>AS_NULL</log_directory>
<db_spec>redis:host:31415:domain</db_spec>
<watchd>...</watchd>
<watchfolderd>
<remote_tmpdir_conf>hide</remote_tmpdir_conf>
<purge_drops_max_age>1d</purge_drops_max_age>
<purge_drops_max_files>9223372036854775807</purge_drops_max_files>
<raw_options>disable</raw_options>
</watchfolderd>
To view the current settings, run the following command and look for settings that start with
watch
and watchfolderd
:
> asuserdata -a
Configuring the Aspera Watch Folders service settings
Configure the Aspera Watch Folders service by using asconfigurator commands with this general syntax:
> asconfigurator -x "set_server_data;option,value"
Options and values are described in the following table.
Watch Folder configuration options
Note: The logging and database configuration settings apply to both the Aspera Watch service and the Aspera Watch Folders service, and are described in Watch Service configuration.
asconfigurator option
aspera.conf setting |
Description | Default |
---|---|---|
watchfolderd_purge_drops_max_age |
The maximum age of stored drops. Drops older than this age are purged. | 1 d |
watchfolderd_purge_drops_max_files |
The maximum number files across all drops. When this number is exceeded, drops are purged until the file count is less than the specified number. | 9223372036854775807 |
watchfolderd_raw_options |
Enable the use of new ascp options in Watch Folders-initiated transfers before the options are built into the application. Valid
values are disable or enable . |
disable |