Search code examples
azure-blob-storageazure-storage-account

Auto generated block blobs


I am observing that whenever I create a new folder inside the Azure blob storage, a block blob file with the same name as the folder is auto created. I dont know why and what setting is making this behave this way. Any pointers on why and how to disable this ? Thank you.


Solution

  • In azure blob storage(not Azure data lake storage Gen2), you should know one important thing: You cannot create an empty folder. The reason is that blob storage has a 2 level hierarchy - blob container and blob. Any folder/directory should be part of a blob.

    If you want to create an empty folder, you can use Azure data lake storage Gen2 instead. It's built on blob storage and has some familiar operations.