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

  1. Log on to the IoT Platform console.
  2. On the Overview page, find the instance that you want to manage and click the instance name to go to the Instance Details page.
    Important Enterprise Edition instances are available in the China (Shanghai) and Japan (Tokyo) regions. If the Enterprise Edition instances are unavailable in the region that you select, skip this step.
    Overview
  3. In the left-side navigation pane, choose Devices > Devices. On the Devices page, find the device that you want to manage and click View in the Actions column.
    Device file management
  4. On the Device Details page, click the Manage Files tab.

    On the Manage Files tab, you can view the files that are uploaded by the device.

    Device file management
    The following table describes the operations that you can perform on an uploaded file.
    Operation Description
    Download Download the file to your on-premises device.
    Delete Delete the file.
    Warning After the file is deleted, the owner of the device can no longer obtain the file. Proceed with caution.

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.