Reputation: 709
I'm currently trying out the Azure TableStorage and have a question regarding BlockBlobs: Can I download specific BlobBlocks by their BlockID using REST (and how)?
I thought it could be something like: http://storagename.blob.core.windows.net/test/hello.zip?&blockid=001 , but this returns the whole file.
Thanks in advance
Upvotes: 1
Views: 814
Reputation: 20576
Currently it is not possible today but it sure is a good request.
You could do the following as an alternative:
Upvotes: 3
Reputation: 7627
You have to download Blocks by byte range. Range
option must be set within HTTP Header (not in url query string).
Example:
GET /test/hello.zip HTTP/1.1
Range: bytes=0-102399
Host: storagename.blob.core.windows.net
http://msdn.microsoft.com/en-us/library/windowsazure/dd179440.aspx
Upvotes: 0