Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[upload2blob] Some question about upload to blob #69

Closed
lmussier opened this issue Feb 14, 2017 · 2 comments
Closed

[upload2blob] Some question about upload to blob #69

lmussier opened this issue Feb 14, 2017 · 2 comments
Assignees
Labels

Comments

@lmussier
Copy link

Hi,

We may wan to use the upload to blob feature from the SDK, and we have some unanswered questions:

  • If we use MQTT/WS as transport for messaging stuff, do we have to create another iotHubClientHandle with HTPP as transport for the blob upload ?
  • Does the upload to blob feature support a kind of stream upload.
    i.e call multiple IoTHubClient_LL_UploadToBlob with the same destination file.

Thanks.

@lmussier lmussier changed the title Some question about upload to blob [upload2blob] Some question about upload to blob Feb 14, 2017
@olivierbloch
Copy link
Contributor

Hi @lmussier

  • you actually don't need to create a separate iothubclient handle to so telemetry over MQTT and file upload (which uses REST APIs). The transport specified when creating the instance of the client is only for telemetry and doesn't impact file upload. The stacks necessary for file update are in the shared utility lib, not in the transports ones.
  • Streaming is not supported in the actual file upload implementation in IoT Hub and if you use the same destination file, the new one will replace the previous one.

@lmussier
Copy link
Author

Thanks for the quick answers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants