Azure / azure-storage-azcopy

The new Azure Storage data transfer utility - AzCopy v10
MIT License
607 stars 219 forks source link

No md5 sum where use --from-to PipeBlob --put-md5 #2223

Open cyanide-burnout opened 1 year ago

cyanide-burnout commented 1 year ago

Which version of the AzCopy was used?

10.18.1

Note: The version is visible when running AzCopy without any argument

Which platform are you using? (ex: Windows, Mac, Linux)

Linux

What command did you run?

Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.

What problem was encountered?

No md5 sum where use --from-to PipeBlob --put-md5

How can we reproduce the problem in the simplest way?

Have you found a mitigation/solution?

siminsavani-msft commented 1 year ago

Hi @cyanide-burnout ! Could you please clarify the issue here? Are you using --put-md5 and it is not working as expected and what is the expected behavior? Thanks!

cyanide-burnout commented 1 year ago

Yes, I am using --put-md5 as I described in the topic. cat "$FILE" 2> /dev/null | azcopy cp "$TARGET/$BLOB?$TOKEN" --from-to PipeBlob --content-type "$TYPE" --block-blob-tier Cool --put-md5 --overwrite true Expected: blob has ContentMD5 in attributes. azcopy list "$TARGET/$BLOB?$TOKEN" --properties "ContentMD5;LastModifiedTime" --machine-readable Current behaviour: empty ContentMD5. Azure Storage Explorer shows empty MD5 as well.

siminsavani-msft commented 1 year ago

Hi, just an update. I was able to repro this! Thank you for reporting this!

siminsavani-msft commented 1 year ago

Update from the team: we don't currently support this in PipeBlob/BlobPipe and have labeled this as a feature request.