Search code examples
c#azure-storage

How can I download a file form Azure BLOB storage


I have large files already on my Azure BLOB storage. Now at the client side and using azure SDK v2.0 I can download the files a stream as described here.

My problem is: The SDK only allows me to download the blob as a stream and I want to download my files in chunks to make the downloads resume-able.


Solution

  • You can use CloudBlockBlob.DownloadRangeToStream to read parts of a blob.