I have used this example to create a working file upload from my cordova client directly into azure blob storage: http://gauravmantri.com/2013/02/16/uploading-large-files-in-windows-azure-blob-storage-using-shared-access-signature-html-and-javascript/
So far so good, but I have custom metadata that I need to add to each file. Can I add the metadata to the file before upload such that the metadata is automatically attached to the file as it is loaded into azure blob storage? I know I could write a c# function in azure to add metadata and call the function from my client after successfully loading the file into blob storage but is there a better way? I worry that the the upload may work, but the subsequent metadata write may fail, leaving my file without its metadata.
Martin