question

ika-8686 avatar image
0 Votes"
ika-8686 asked SaiKishor-MSFT commented

How to download not hashed data from server?

I need to download data from server but not as hash. I use azcopy. Is there any flags to help me with that?

azure-storage-accounts
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SaiKishor-MSFT avatar image
1 Vote"
SaiKishor-MSFT answered

@ika-8686 Thank you for reaching out to Microsoft Q&A. I understand that you want to know how to download not hashed data from the Azure Storage, is that right?

The StoreBlobContentMD5 request option instructs the Storage Client to calculate the MD5 hash of the blob content during an upload operation. This value is then stored on the blob object as the Content-MD5 header. This option applies only to upload operations. This is useful for validating the integrity of the blob upon later download, and compatible with the Content-MD5 header as defined in the HTTP spec. If using the Storage Client for later download, if the Content-MD5 header is present, the MD5 hash of the content will be validated, unless "DisableContentMD5Validation" is set. Note that this value is not validated on the Azure Storage service on either upload or download of data; it is merely stored and returned.

Can you confirm how the data was uploaded to the cloud and if MD5 hash was set to true? Thank you!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ika-8686 avatar image
0 Votes"
ika-8686 answered SaiKishor-MSFT commented

Hi, I am sorry for such a delay.
I want to download not hashed data from Azure (via terminal and AzCopy), and yes, MD5 has was set to true.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ika-8686 Thanks for the update. As I mentioned in the above answer, if the MD5 was set to true during upload, MD5 needs to be validated while downloading the same. This is expected. If you do not want this, "DisableContentMD5Validation" has to be set. Hope this helps. Please do let me know if you have further questions. Thank you!

Please let us know if you have any further questions and we will be glad to assist you further. Thank you!

Remember:

Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

Want a reminder to come back and check responses? Here is how to subscribe to a notification.


0 Votes 0 ·