Would like to create folders in azure blob storage using python SDK

akhil kumar 1 Reputation point
2020-11-13T09:09:18.64+00:00

Hi All,

I would like to create folders dynamically in azure blob storage using python SDK, is this something possible?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,149 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,843 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,081 Reputation points Microsoft Employee
    2020-11-13T21:44:03.68+00:00

    @akhil kumar
    The Blob service is based on a flat storage scheme, not a hierarchical scheme. However, you may specify a character or string delimiter within a blob name to create a virtual folder. So you can follow the samples of uploading a blob here and simply name your blob "folder/1.txt".

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.