Azure-docs: How to upload to a folder?

Created on 28 Aug 2018  ·  7Comments  ·  Source: MicrosoftDocs/azure-docs

No guidance shown here on how to upload a blob to a subfolder within a container. using blob upload with --name folder/myfile.txt doesn't work.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assigned-to-author doc-bug storagsvc triaged

All 7 comments

Turns out this syntax (foo/myfile.txt) works if you use -n but not if you use --name

🤷🏻‍♂️

@brandonh-msft Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@brandonh-msft I'm sorry but, I've just tested both -n and --name. Both work equally fine. Perhaps check your CLI version?

In any case, I feel you're right that the doc should make this guidance explicit. Thank you for pointing that out. I will create a backlog item to improve the doc.

@Adam-Smith-MSFT will you please shift this to doc-enhancement? Thanks in advance.

@brandonh-msft this has been integrated, thank you again for bringing this to our attention.

please-close

@roygara is it live? unfortunately I can't readily see a commit related to this issue (could be linked via commit comment, fyi) and am not seeing anything in the docs that calls this out for blobs (I see something for files though not sure if that's new). Commit history on the md file called out by automated creation of this Issue doesn't allude to anything new in this regard, either.

@brandonh-msft no, it'll be live by EoD. But I've made the change and it is in our build system, it'll go out in our publish later today.

@brandonh-msft We will now close this issue. If there are further questions regarding this matter, please reply to @femsulu and we will gladly continue the discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ianpowell2017 picture ianpowell2017  ·  3Comments

JamesDLD picture JamesDLD  ·  3Comments

Ponant picture Ponant  ·  3Comments

spottedmahn picture spottedmahn  ·  3Comments

mrdfuse picture mrdfuse  ·  3Comments