Deploy Files
Deploy Files allows you to upload any file or directory files to Artifactory and immediately deploy them to your devices.

Overview

Enables you to upload files or directories directly to Artifactory from Connect Update Flow and then pull the update to your edge devices. The deployed files will be automatically saved under your JFrog platform "connect-default-generic" repository.
Prerequisites:
Requires incorporation of Artifactory, see JFrog Account Integration.
Requires Agent Version 6.0 and above.

Configuration

Deploy 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.

Add More

Add another set of files or directories to the current Deploy Files block.

On Fail

Allows you to define the occurrences upon failure of the Deploy 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.