Get Device Files (Fetch Files)
In JFrog Connect you can easily retrieve logs or other files and folders from your IoT device.
Last updated
Was this helpful?
In JFrog Connect you can easily retrieve logs or other files and folders from your IoT device.
Last updated
Was this helpful?
You can retrieve a file or folder from a device. This is useful if you want to get log files or any other kind of file from a device.
To retrieve a file or folder from a device, do the following:
Go to File Fetch in the left navigation tree and set the project, group, and any additional filters you need in the at the top of the page.
Choose the name of the device from the Device list.
For a single file, enter the path on the device including the file name. For an entire folder, enter the path including the folder name on the device.
Click Fetch. In the Fetched Files table, you will see the state of the file fetch action in the State Column.
When your file or folder has been fetched successfully, click the icon in the View column.
Click Download or View to see the contents of the file retrieved. If your file is above the viewable file size in Connect, you can download the file and view it in a separate viewing application.
The content you retrieve from a device is available for three days from the Connect web UI.
When you use the Connect UI to retrieve the files, the content is also automatically saved in Artifactory and is available there whenever you want it.
To find the content in the Artifactory web UI, go to Artifacts and the following path:
connect-default-general/upswift-general/devices/<your-device-uuid>
In addition, you can retrieve the content from Artifactory using the Artifactory CLI.
The in the Connect API returns a URL to a location in Artifactory. You can use the Artifactory UI, API, or CLI to download the files from this URL. The files may not be available immediately at the URL. They become available when the device completes a successful upload of the files.
Learn how to from your fleet.