| Watch Folders and the Aspera Watch Service |
197
}
}
For a full configuration reference, see
Watch Folder JSON Configuration File Reference
on page 175.
Field
Description
Default
source path
The local source directory. If the transfer user who is associated with the
Node API user is configured with a docroot, then the path is relative to
that docroot. If the transfer user is configured with a restriction, then the
path is the absolute or UNC path.
N/A
target path
The remote target directory. For SSH and Node API user authentication,
the path is relative to the user's docroot, or the absolute path if the transfer
user is configured with a restriction. For Shares authentication, the path
is the share name and, optionally, a path within the share. For access key
authentication, the path is relative to the storage specified in the access
key.
N/A
location type
Set
"type"
to
"REMOTE"
for the remote server.
"type": "REMOTE"
is assumed if
"host"
is specified.
"REMOTE"
host
The host IP address, DNS, hostname, or URL of the remote file system.
Required
. The host can be specified with an IPv4 or IPv6 address. The
preferred format for IPv6 addresses is x:x:x:x:x:x:x:x, where each of
the eight x is a hexadecimal number of up to 4 hex digits. Zone IDs (for
example, %eth0) can be appended to the IPv6 address.
N/A
port
The port to use for authentication to the remote file system. By default, if
the authentication type is
SSH
, then the SSH port for the
ascp
process
(the value for
tcp_port
in the "transport" section) is used. If the
authentication type is
NODE_BASIC
, 9092 is used. For Shares, IBM
Aspera Transfer Cluster Manager, or IBM Aspera on Cloud endpoints,
enter 443.
If authentication
type is
SSH
,
then default is
the value for
tcp_port
in
the "transport"
section
(default: 22). If
authentication
type is
NODE_BASIC
,
then default is
9092.
authentication
type
How Watch Folders authenticates to the remote server. Valid values are
SSH
or
NODE_BASIC
.
For
SSH
, authenticate with a transfer user's username and password, or
specify the username and the path to their SSH private key file.
For
NODE_BASIC
, authenticate with a Node API username and
password, Shares credentials, or an access key ID and secret.
Sample JSON syntax for each authentication type is provided following
this table.
NODE_BASIC
user
The username for authentication.
Required
. Depending on the type of
authentication, it is the transfer user's username, Node API username,
Shares username, or access key ID.
N/A
pass
The password for authentication. Depending on the type of authentication,
it is the transfer user's password, the Node API user's password, the Shares
user's password, or the access key secret.
N/A