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.

How to download publicly available objects from blob storage?

See original GitHub issue

I have some files in blob storage that I want publicly available, but I"m unsure of how someone would fetch them.

It looks like the azure.storage.common.storageclient module is the right way to go, but It’s unclear how to use this.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
richardliawcommented, Oct 28, 2017

The sample code linked above is very unclear.

The proper way to do this is given that you’ve published a container azure-webjob-hosts with account namefoo, you would call -

bar_bbs = BlockBlobService(account_name='foo', account_key=None)
bar_bbs.get_blob_to_path(azure-webjob-hosts, blob_i_want, local_path)

I hope that helps, @apengwin.

It would be nice to have better sample code for future reference.

0reactions
richardliawcommented, Oct 28, 2017

ah sorry, edited above. thanks for the catch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Download a blob with .NET - Azure Storage - Microsoft Learn
Learn how to download a blob in Azure Storage by using the .NET client library.
Read more >
How to Use Blob Storage via Azure File Storage
Select the file (temp.dat) to download and click on the Download button in the Azure Storage Explorer, as shown below. Doing so opens...
Read more >
Download Files from Azure Blob Storage with Blazor ...
Navigate to the blob service and create a container to upload the files. Enter the container's name and select the public access level...
Read more >
Make data public | Cloud Storage
Make individual objects publicly readable · In the Google Cloud console, go to the Cloud Storage Buckets page. · Click on the name...
Read more >
Cheat Sheet: Microsoft Azure Blob Storage - Zuar
Simply navigate to the subscription and storage account then right-click 'Blob Containers' and select 'Create Blob Container' and name it.
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