Azure / azure-storage-cpp

Microsoft Azure Storage Client Library for C++
http://azure.github.io/azure-storage-cpp
Apache License 2.0
131 stars 147 forks source link

HOWTO: Auto restart upload on broken connection. #406

Closed mrspirytus closed 3 years ago

mrspirytus commented 3 years ago

I just implemented a test app to transfer files using BlockBlobClient::UploadFrom(). It works great from my desktop. Since I will be uploading files from test equipment over LTE connections on moving vehicles, connections might come and go away. What is the best way to handle

  1. Disconnects and restarts
  2. Most importantly if possible do not upload the entire file again but just restart from the last uploaded point. Sometimes might be large. Restart upload from the last known point would be awesome. Can someone point me to a detailed example/document on how to achieve this?