Open Zhaph opened 11 months ago
Hi @Zhaph,
2.49.0 is not the latest Azure CLI(2.50.0).
Please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
Thank you for opening this issue, we will look into it.
Just upgraded to: azure-cli 2.50.0
core 2.50.0
And I can confirm the behaviour is the same.
Note - this occurs before any attempt is made to connect to the storage account, so you don't really need to supply valid creds/paths to test.
Hi @Zhaph, was not able to reproduce this issue, can you show the files inside portal and their names, is this inside an hierarchical name space storage account that supports directories?
Describe the bug
When attempting to download specific files from blob storage, the command fails with the error
<partialfilename> was unexpected at this time
.For example the following file name is parsed successfully:
az storage blob download -n "Sitecore/10.2.0/Sitecore 10.2.0 rev. 006766 (XM) (Cloud)_cd.scwdp.zip"
While replacing the spaces with underscores:
az storage blob download -n "Sitecore/10.2.0/Sitecore_10.2.0_rev.006766_(XM)_(Cloud)_cm-fixed.scwdp.zip"
Results in:_(Cloud)_cm-fixed.scwdp.zip was unexpected at this time.
Replacing the underscores with hyphens results in the similar message.
Replacing the underscore after
rev.006766
with a space successfully attempts to download the file.Related command
az storage blob download
Errors