Watch Folder Service Configuration

The Watch Folder service configuration in the <server> section of aspera.conf includes drop and file management and enabling the use of raw options (ascp options that are not yet included in the Watch Folder configuration).

<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:

# /opt/aspera/bin/asuserdata -a

Configuring Watch Folder service Settings

Configure the Watch Folder service by using asconfigurator commands with this general syntax:

# /opt/aspera/bin/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 Watch Folder service, and are described in Watch Service Configuration.

asconfigurator option
aspera.conf setting

Description Default

watchfolderd_purge_drops_max_age
<purge_drops_max_age>

The maximum age of stored drops. Drops older than this age are purged. 1d

watchfolderd_purge_drops_max_files
<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
<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