| Watch Folders and the Aspera Watch Service |
166
a new subscription; however, the new subscription does not retain the file change history and all files in the source
directory are re-transferred.
Restrictions on all Watch Folders
• Only local-to-remote (push) and remote-to-local (pull) configurations are supported. Remote-to-remote and local-
to-local are not supported.
• Growing files are only supported for local sources (push Watch Folders) and must be authenticated by a transfer
user (password or SSH key file). The transfer user cannot be restricted to aspshell and the source cannot be in
object storage.
• Source file archiving is not supported if the Watch Folder source is in object storage.
• IBM Aspera Shares endpoints must have version Shares version 1.9.11 with the Watch Folder patch or a later
version.
To create a push Watch Folder:
1.
Prepare your computer as described in
Getting Started with Watch Folders
on page 164.
2.
Create a Watch Service and Watch Folder service for your user on the local computer.
# /opt/aspera/sbin/asperawatchd --user
username
# /opt/aspera/sbin/asperawatchfolderd --user
username
3.
Verify that the services are running for the user.
# /opt/aspera/bin/asrun send -l
The output is similar to the following:
[asrun send] code=0
{
"services": [
{
"id":"52ca847a-6981-47e1-9f9b-b661cf298af1",
"configuration": {
"enabled":true,
"run_as": {
"pass": "*****",
"user":"root"
},
"type":"WATCHD"
},
"state":"RUNNING",
"state_changed_at":"2016-10-20T19:14:34Z"
},
{
"id":"d109d1bd-7db7-409f-bb16-ca6ff9abb5f4",
"configuration": {
"enabled":true,
"run_as":{
"pass": "*****",
"user":"root"
},
"type":"WATCHFOLDERD"
},
"state":"RUNNING",
"state_changed_at":"2016-10-20T00:11:19Z"
}
]
}