Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display contents of an Azure storage container via web browser

first post at stack so be nice :)

I've created an Azure storage account with a container in it. I've set the container access policy to 'Container'.

I have added a file to that storage container and can browse to that. However when I browse to the actual container path I get a 404.

I was expecting that I'd be able to get a file list type view on the container when I set the container access policy. Am I missing something? Is there any way to display a folder list type view on an Azure storage container?

The container that gives the 404 is : https://maxonazurecoolstorage.blob.core.windows.net/stuff

The file is located here and opens ok https://maxonazurecoolstorage.blob.core.windows.net/stuff/Field-1_jpg.jpg

any help greatly appreciated

cheers

Max

like image 318
maxwellsmartish Avatar asked Nov 27 '16 23:11

maxwellsmartish


1 Answers

According to your description, you have set Access type to Container, and you’d like to list Blobs from your container, you could refer to the following List Blobs request to enumerate the list of blobs under the specified container.

https://myaccount.blob.core.windows.net/mycontainer?restype=container&comp=list

like image 120
Fei Han Avatar answered Sep 28 '22 07:09

Fei Han