I see that Azure has release the ContentDisposition property of a blob: http://msdn.microsoft.com/en-us/library/windowsazure/microsoft.windowsazure.storage.blob.blobproperties.contentdisposition(v=azure.10).aspx in their version 3.0 of the api. I've set the property on my existing blobs, but when they are downloaded the content-disposition header is not included in the response.
I've verified that when I FetchAttributes the properties from Azure for that Blob that the ContentDisposition property is in fact populated.
It does work when using SAS, but not when downloading the file without SAS.
If someone has insight please let me know.
Can you please check the
DefaultServiceVersion
for your storage account? ForContent-Disposition
to work, I believe theDefaultServiceVersion
should be2013-08-15
.To get
DefaultServiceVersion
:To set
DefaultServiceVersion
:Once you set
DefaultServiceVersion
, it should work.