Search code examples
azure-blob-storageazcopyazure-storage-explorer

Unable download large file from Azure Storage


I'm not able to download large file from Azure Storage Blob container (using SAS ) to C:\Download. I tried Azure Storage Explorer 1.10.1 / 1.20.0 / 1.20.1 with Windows Server version 2012 R2 / 2019.

I also tried AzCopy. It is vhd file with size 127 GB.

It runs for about 35 minutes and then fails.

What is wrong with that? Can you please provide me with a working solution?


Solution

  • As suggested by @gaurav mantri

    • When the download from Azure Storage Blob container fails try checking the SAS Expiry date (se parameter in your SAS token) as your download could fail if the SAS token expires.

    • If SAS token is not expired, look into azcopy logs which can have information about the failure.

    Thank you @gaurav mantri for the suggestion.

    Solution found by @majkl : Log has the MD5 hash of the data which did not match the expected value, as found in the Blob/File Service. This means that either there is a data integrity error OR another tool has failed to keep the stored hash up to date. When Checking MD5 hash.

    Downloading large file from Azure Storage Blob container was successful when the parameter "--check-md5 NoCheck" is used .