Upload files from your devices to the cloud
IoT Central lets you upload media and other files from connected devices to cloud storage. You configure the file upload capability in your IoT Central application, and then implement file uploads in your device code.
Prerequisites
You must be an administrator in your IoT Central application to configure file uploads.
You need an Azure storage account and container to store the uploaded files. If you don't have an existing storage account and container to use, create a new storage account in the Azure portal.
Configure device file uploads
To configure device file uploads:
Navigate to the Application section in your application.
Select Device file storage.
Select the storage account and container to use. If the storage account is in a different Azure subscription from your application, enter a storage account connection string.
If necessary, adjust the upload timeout that sets how long an upload request remains valid for. Valid values are from 1 to 24 hours.
Select Save. When the status shows Configured, you're ready to upload files from devices.
Disable device file uploads
If you want to disable device file uploads to your IoT Central application:
Navigate to the Application section in your application.
Select Device file storage.
Select Delete.
Upload a file from a device
IoT Central uses IoT Hub's file upload capability to enable devices to upload files. For sample code that shows you how to upload files from a device, see the IoT Central file upload device sample.
Next steps
Now that you know how to configure and implement device file uploads in IoT Central, a suggested next step is to learn more device file uploads:
Tilbakemeldinger
Send inn og vis tilbakemelding for