Using the File Upload Functionality of Azure with ThingWorx
The main steps for using a FileTransfer event to receive notifications about file uploads from Azure IoT Edge devices follow:
1. Create a blob-storage container in Azure for file uploads.
2. Link the blob-storage container to your IoT Hub in Azure ( > > > ).
3. From ThingWorx Composer, create an AzureStorageContainerFileRepository Thing and make sure that its Name is the same as the name of the corresponding Blob Storage container in Azure. As needed, you can change the Name in the Configuration page for the AzureStorageContainerFileRepository Thing.
5. Upload a file from an edge device.
|
Only Steps 3 and 4 are specific to ThingWorx. Steps 1 and 2 are Azure setup that is required for file-transfer support.
|