Upload Files
Upload Files allows you to upload any file or directory files to Connect servers and immediately deploy them to your devices.

Overview

Enables you to upload files or directories and immediately deploy them to your edge devices.
Mostly used for common Software Updates where you are not using a repository of any kind.

Configuration

Upload Files

Select or drop the specified file or directory.

Destination Path on Device

The Device path is the directory on the device that the files will be pulled into.
The directory on the device must exist beforehand, otherwise, the update will fail.
JFrog Connect does not automatically create directories when deploying updates, you may create a folder using the "Run Command" block in the General Section.

On Fail

Allows you to define the occurrences upon failure of the Upload Files block.
By default, when the block fails, all files are automatically reverted to the previous state.
In order to allow a Rollback functionality, your device's free memory is required to be higher than the update size.
To calculate how much free memory is required, follow the equation below
Free Memory Required > Current directory size + Update size + 10MB
To read more about On Fail configuration, refer to the Rollback section.