IBM Aspera HST Admin Manual page 201

High-speed transfer server
Table of Contents

Advertisement

"enabled": true
}
The username and password are for a transfer user with permissions to the source path. Save the files, with the
.json extension.
b) Create the service.
# curl -ki -u node_username:node_password -X POST -d @config_file
"https://localhost:9092/rund/services"
If service creation succeeds, the ID of the service is returned. Record the ID for use in the next step.
c) Confirm that the service is running.
# curl -ki -u node_username:node_password -X GET "https://
localhost:9092/rund/services/service_id"
6. Create a JSON configuration file for your Watch Folder.
The Watch Folder JSON file describes the source, target, and authentication to the remote server, and can also
specify transfer session settings, file handling and post-processing, filters, and growing file handling.
A basic pull Watch Folder configuration has the following syntax:
{
"source": {
"path": "source_directory",
"location": {
"type": "REMOTE",
"host": "ip_address",
"port": port,
"authentication": {
}
}
},
"target": {
"path": "target_directory"
},
"watchd": {
"scan_period": "scan_period",
"identifier": "daemon"
}
}
For a full configuration reference, see
Field
Description
source path
The source directory on the remote server. For SSH and Node
API user authentication, the path is relative to the associated
transfer 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.
location type
Set "type" to "REMOTE" for the remote server. "type":
"REMOTE" is assumed if "host" is specified.
"type": "authentication_mode",
"user": "username",
"pass": "password"
Watch Folder JSON Configuration File Reference
| Watch Folders and the Aspera Watch Service | 201
on page 175.
Default
N/A
"REMOTE"

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents