When the AjaxFileUpload control has "StoreToAzure" set to true, the files are uploaded directly to Azure storage (and the container specified by "AzureContainerName"). This is a great new feature. However, it would be nice if we had some control over the Azure blob name in this process. Currently the blob name is always the same as the client-side file name. This makes it hard to use Azure virtual directory naming or rename the blob if there happens to be one with the same name already uploaded. The workaround for this case, is not to use the StoreToAzure option, save the file to the web server, then upload to Azure from the web server (with more control over the blob names). But that's not nearly as efficient as uploading directly to Azure from the browser.
↧