Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is no longer possible to work with blob names containing colons #2578

Closed
sgryt opened this issue Jan 27, 2020 · 2 comments
Closed

It is no longer possible to work with blob names containing colons #2578

sgryt opened this issue Jan 27, 2020 · 2 comments
Labels
✅ duplicate Issue or pull request already exists

Comments

@sgryt
Copy link

sgryt commented Jan 27, 2020

Until quite recently, the storage explorer could download blobs with colons in their name, and it was possible to download (and edit) the blobs to a local file (where the name would be an encoded version of the blob name). When the local copy was subsequently changed and saved, the storage explorer would present some options about snapshotting, overwriting or ignoring the change. If one chose snapshot or overwrite, the blob in storage would then be modified accordingly.

This is no longer possible - the download stage is broken. The error message in the Activities tab is something along the lines of: Transfer from 'tenants/' to '%AppData%\Local\Temp\15801277704550' failed: 0 items transferred, 1 item failed (used SAS, discovery completed)

Looking into the AzCopy logs, it seems that the filename deduced from the blob name is no longer being transformed into a filesystem-friendly version (slightly redacted log entry follows):

2020/01/27 12:22:51 ERR: [P#0-T#0] DOWNLOADFAILED: https://XYZ.blob.core.windows.net/tenants/urn:grn:development:localhost.domains?se=2020-02-26t12%3A22%3A50z&sig=-REDACTED-&sp=rl&sr=c&sv=2018-03-28 : 000 : File Creation Error The filename, directory name, or volume label syntax is incorrect.
Dst: %5C%5C?%AppData%\Local\Temp\15801277704550\urn:grn:development:localhost.domains

Please restore the ability to work with blob names that are valid in Azure.

@nerddtvg
Copy link

Thanks for opening this. It is similar, or possibly a regression, to #1350. I tried both 1.11.2 and 1.12.0 and had issues.

Simply having the ability to set blob names on download would be awesome as well.

@MRayermannMSFT
Copy link
Member

Duplicate of #2297

We're aware of this regression and the AzCopy team is working on a fix.

@MRayermannMSFT MRayermannMSFT added the ✅ duplicate Issue or pull request already exists label Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ duplicate Issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants