Uploading a file to remote devices
With qbee.io it is possible to play out one or many files to individual target devices or groups of devices. The function used for this is file distribution. Please upload your files or scripts with the qbee file manager and follow the following steps:
Upload any files with the file manager. Please note the pathes.
In the qbee app go to "Configure" and select "System->File Distribution".
On the device tab select the group or device that should receive the files. For more information please see the configuration management documentation.
Start the actual file distribution:
When does this file gets played out?
qbee checks if the file exists in the defined destination. If not it will be transfered. Both the file in the file manager and the file on the machine has a hash. If the file manager file is replaced a new file distribution happens. Likewise, if the file on the target machine is changed this will also trigger a new file download and the changes will be overwritten with the original file from the file manager.
This behaviour is very useful. But if a process on the target device is working against a file that is watched by qbee file distribution this can cause continuous file downloads. This will be seen in the logs.
The input screen of the file distribution function looks as follows:
If you want to learn more about the command to run or templating options please visit the distributing and running scripts section