Devices can upload files to IoT Platform over Message Queuing Telemetry Transport (MQTT) or the HTTP/2 streaming channel. Then, you can manage the files in the IoT Platform console. For example, you can download or delete the files. This topic describes how to use the IoT Platform console to manage the files that are uploaded.
Prerequisites
The device is connected to IoT Platform. For information about how to configure device SDKs, see Link SDKs.
For information about how to configure a device to upload files to IoT Platform, see Upload files over MQTT.
Limits
Take note of the following limits:
- Only devices in the China (Shanghai), China (Beijing), and China (Shenzhen) regions can upload files over MQTT.
- An IoT Platform instance can store up to 1 GB of files.
- A device can upload up to 1,000 files for storage.
- A file uploaded by using the MQTT protocol can be up to 16 MB in size.
Procedure
Related API operations
API | Description |
---|---|
QueryDeviceFileList | Queries the files that are uploaded to IoT Platform from a specific device. |
QueryDeviceFile | Queries the details of a file that is uploaded to IoT Platform from a specific device. |
DeleteDeviceFile | Deletes a file that is uploaded to IoT Platform from a specific device. |