Microsoft Azure: How to create sub directory in a blob container

前端 未结 9 1735
清酒与你
清酒与你 2020-11-27 16:01

How to create a sub directory in a blob container

for example,

in my blob container http://veda.blob.core.windows.net/document/

If I store some files it

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-27 16:41

    Got similar issue while trying Azure Sample first-serverless-app.
    Here is the info of how i resolved by removing \ at front of $web.

    Note: $web container was created automatically while enable static website. Never seen $root container anywhere.

    //getting Invalid URI error while following tutorial as-is
    az storage blob upload-batch -s . -d \$web --account-name firststgaccount01
    
    //Remove "\" @destination param
    az storage blob upload-batch -s . -d $web --account-name firststgaccount01
    

提交回复
热议问题