| Plugins / Plugin Help Content | |

This plugin provides the ability to perform file system operations search through the Aspera Node API.
Saved Parameters Description
Inputs description
The list of inputs depends on the configuration of the AsperaNodeAPI action template. Changes in this list of inputs will override any values set in the action template.
Outputs Description
Supported Actions
None
Dependencies
None
Operating Instructions
Overview:
Globbing pattern matching can be used in file name and file base name patterns.
Entering *.txt will result in all files with the .txt extension being detected.
Multiple patterns can be entered separated by ',' such as *.txt,*.mxf
For a search of files with txt extension under all directories starting with foo, use foo*/*.txt to retrieve /root/foo/toto.xt and /root/foo/foo2/titi.txt (/root being the watch directory).
For a search under the foo directory including bar as a sub-directory, use foo/*/bar/*.txt to retrieve /root/foo/foo1/bar/toto.txt and /root/foo/foo2/bar/bar2/titi.txt.
Other examples: fo? will match /root/foo or /root/fo1 but not /root/foo1, fo[1-9] will match /root/fo1 or /root/fo2 but not /root/foo1
The search is case sensitive.
The remote nodes must be running Aspera Enterprise Server, Connect Server or Point to Point (Linux or Windows) with a valid license as they all use the asperanoded service for Node API calls. The node user name is a Node API account (not an operating system account on the Aspera transfer server). The transfer user (which is an operating system account) associated to the Node API account can be found by running the folllowing command on the Aspera server:
# /opt/aspera/bin/asnodeadmin -l
List of node user(s):
user system/transfer user acls
==================== ======================= ====================
node_user xfer []
The path to configure in the watch directory is relative to the docroot for this transfer user (in the example above, xfer).
The transfer user docroot can be found in /opt/aspera/etc/aspera.conf on the remote server such as:
<user>
<name>xfer</name>
<file_system>
<access>
<paths>
<path>
<absolute>/home/xfer/data</absolute>
</path>
</paths>
</access>
</file_system>
</user>
For example, a watch directory like /root refers to /home/xfer/data/root on the remote server.
By default, only HTTPS (port 9092) is enabled on the Aspera servers for the Node API. To enable HTTP (port 9091) as well, make sure that /opt/aspera/etc/aspera.confon the remote server holds this section:
<server>
<server_name>testchris2.sl.dev.asperacloud.net</server_name>
<http_port>9091</http_port>
<https_port>9092</https_port>
<enable_http>true</enable_http>
<enable_https>true</enable_https>
</server>
Restart asperanoded on the remote server (as root) to enable any change in this aspera.conf port configuration:
service asperanoded restart
More information on the Aspera Node API can be found on the Aspera Developer Network.