Retrieving a File from the Device
The device manager provides a method to upload a file from the device into either the global or thing file storage in Device Cloud.
In this procedure, the thing key of the device manager is as follows, where deviceId is the value in the device_id file in the configuration directory:
- Python Agent
-
deviceId-device_manager_py
- C Agent
-
deviceId-device-manager
You need your user name, password, and URL for Device Cloud.
The device manager on the device must be connected to Device Cloud.
The device manager must have permission to read the directory and file on the device.
If you run the Python agent and want to upload all the files in the directory, you must specify true (the default) for the upload_tar_file attribute in the iot.cfg file.
You can download the file to your computer from the thing details page under the Files tab or the Files page if you selected use_global_store.