Abb robot fileservice
Provides remote access to files and directories on robot's controller.
It also handles transfer, create, remove and renaming of files and directories (similar to FTP service).
Inputs
Field | Type | Description |
---|---|---|
httpMethod |
string | HTTP method, ie. GET , PUT , POST , ... |
Outputs
Field | Type | Description |
---|---|---|
payload |
string or object | Query result. |
Details
Depends on Robot Web Services API version user can create REST
queries using above fields.
See example msg
for file creation by name example_file
in directory given in $HOME
(controller's environmental variable) and content Content of Example File
:
{
"httpMethod": "PUT",
"directory": "$HOME",
"filename": "example_file",
"formBody": "Content of Example File"
}
This will produce msg
on output as follows:
{
"httpMethod": "PUT",
"directory": "$HOME",
"filename": "example_file",
"formBody": "Content of Example File",
"topic": "ABB_FILESERVICE_SUCCESS",
"payload": "File upload success"
}
For more file system operations check ABB REST API references mentioned below.
Configuration
Property | Description |
---|---|
Name | Name of the node instance |
Config | A config node with robot connection parameters |
References
- File Service REST API v2.0 (RobotWare 7)
- File Service REST API v1.0