Oliver Bock
Oliver Bock

Reputation: 5105

What is the maximum length of an Azure blob name

On Azure itself, I find I can make blobs with names of length 1000, but not 1100 (so I guess 1024). Using dev storage I can do 200, but not 300 (so I guess something related to MAX_PATH). Is there an official limit?

Upvotes: 25

Views: 17485

Answers (2)

user94559
user94559

Reputation: 60143

From http://msdn.microsoft.com/en-us/library/dd135715.aspx:

A blob name can contain any combination of characters, but reserved URL characters must be properly escaped. A blob name must be at least one character long and cannot be more than 1,024 characters long.

The Azure Storage emulator supports blob names up to 256 characters long.

Upvotes: 41

Gaurav Mantri
Gaurav Mantri

Reputation: 136256

Looking at the schema of "Blob" table in development storage database, the "BlobName" column is nvarchar(256) so I guess the limit is 256 characters for blob name in development storage.

Upvotes: 12

Related Questions