Azcopy add support to copy files to $web container
See original GitHub issueIn this new feature–Static website hosting for Azure Storage now in public preview. A container $web
will be created for hosting static websites.
The problem is, Azcopy can’t recognize this container, test in cmd
[ERROR] Error parsing destination location "https://{accountname}.blob.core.windows.net/$web": Invalid location 'https://{accountname}.blob.core.windows.net/$web', address could not be parsed.
Also test in powershell, no breaking, but files are just uploaded to $root
despite the name after $
.
For now seems that it can only resolve container $root
with $
in name.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:22 (5 by maintainers)
Top Results From Across the Web
Transfer data to or from Azure Files by using AzCopy v10
Transfer data with AzCopy and file storage. AzCopy is a command-line tool for copying blobs or files to or from a storage account....
Read more >Upload files to Azure Blob storage by using AzCopy v10
You can upload files and directories to Blob storage by using the AzCopy v10 ... Upload a file by using the azcopy copy...
Read more >Upload local file to azure static web storage container $ ...
Following command (to copy all files and subfolders to web container) worked for me ... Add a container or directory to the destination...
Read more >Use AzCopy to upload data to Azure Blob Storage
Using AzCopy command, we can upload the directory and all the files within the directory to the Azure blob storage container. The command ......
Read more >Copying files to an Azure Fileshare using Azcopy 10
Add a container or directory to the destination URL ... Following command (to copy all files and subfolders to web container) worked for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tpetrina try putting
\
a backslash in front of$web
so your shell (likely bash) doesn’t try to parse the $FYI until AzCopy supports it you can use the Azure CLI to copy files to the $web container. Worked for me:
az storage blob upload-batch --account-name myaccount -s . -d $web