question

93140406 avatar image
0 Votes"
93140406 asked 93140406 commented

corrupted files during uploading with azure portal

I use archieve storage to backup my personal media files from my HDDs.
I would like to know if there is possibility of corrupted files during uploading with azure portal. My files consists of many rar files, so if a file is corrupted then all the files in that archieve will be lost.
noob here. thnx in advance for your answer and sorry for my english

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.

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered 93140406 commented

@93140406

When uploading to blob storage the Content-MD5 property can be set. This happens automatically when using the portal or AzCopy. The Content-Md5 is an MD5 hash of the blob content. This hash is used to verify the integrity of the blob during transport. When this header is specified, the storage service checks the hash that has arrived with the one that was sent. If the two hashes do not match, the operation will fail with error code 400 (Bad Request).

Hope this helps. Let me know if you have further questions or run into any issues.



Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

· 3
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.

@deherman-MSFT

The problem is that if i go to properties the Content MD5 is empty, specifically it show Content MD5 -
How to configure it to calculate md5 every time i upload files to azure, so that I can be sure for the integrity of files.

thnx in advance for any help.

0 Votes 0 ·

@93140406 How are you uploading the files. If using the portal or AzCopy this should be set automatically. If you are doing this programmatically you need to add this as a property as part of the upload.

0 Votes 0 ·

127255-screenshot-1.png




@deherman-MSFT I am uploading files with azure portal. I am noob to use command line tools.

As you see Content MD5 is empty.

0 Votes 0 ·
screenshot-1.png (17.0 KiB)