I am working on a Silverlight project that stores file downloads on a secure Blob. I have a shared access signature that I'm passing to Silverlight so that the files can be accessed.
Since these are large files, I want to pull the file size info from blob storage and display that on th download link. Is there a way to do that from within Silverlight?
Hi there - thanks for your question.
Yes, this is possible. Do an HTTP HEAD request and check the x-ms-blob-content-length header that is returned. It will include the size of the blob in bytes. As a HEAD request, it will also not return all the contents.
Wen i followed the above procedure i get a forbidden error 403 error..
how to get the blob content length when the uri is in (blob ur + shared access signature) format
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?