question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azcopy add support to copy files to $web container

See original GitHub issue

In 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:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:22 (5 by maintainers)

github_iconTop GitHub Comments

17reactions
onpawscommented, Jul 15, 2018

@tpetrina try putting \ a backslash in front of $web so your shell (likely bash) doesn’t try to parse the $

11reactions
hoetzcommented, Jul 7, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found