Search code examples
c#azuredirectoryazure-blob-storage

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


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 will be

http://veda.blob.core.windows.net/document/1.txt

http://veda.blob.core.windows.net/document/2.txt

Now, how to create a sub directory

http://veda.blob.core.windows.net/document/folder/

So that I can store files

http://veda.blob.core.windows.net/document/folder/1.txt


Solution

  • To add on to what Egon said, simply create your blob called "folder/1.txt", and it will work. No need to create a directory.