Uploads a file to a Blob storage in chunks, fed through the callback function provided by the user.
IOTHUB_CLIENT_RESULT IoTHubDeviceClient_UploadMultipleBlocksToBlobAsync( IOTHUB_DEVICE_CLIENT_HANDLE iotHubClientHandle, const char * destinationFileName, IOTHUB_CLIENT_FILE_UPLOAD_GET_DATA_CALLBACK_EX getDataCallbackEx, void * context );
This function allows users to upload large files in chunks, not requiring the whole file content to be passed in memory.
iotHubClientHandleThe handle created by a call to the IoTHubDeviceClient_Create function.
destinationFileNameThe name of the file to be created in Azure Blob Storage.
getDataCallbackExA callback to be invoked to acquire the file chunks to be uploaded, as well as to indicate the status of the upload of the previous block.
contextAny data provided by the user to serve as context on getDataCallback.
An IOTHUB_CLIENT_RESULT value indicating the success or failure of the API call.