Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AjaxFileUpload: how to customize blob name when uploading to Azure?

$
0
0

The update of AjaxFileUpload to support uploading directly to Azure blob storage is very cool.  However, it looks like the uploaded blob name is always the client file name, relative to the container name specified in the AzureContainerName property.  It would be nice if we could set the blob name to something else, so that we could use the virtual blob directory feature or rename to avoid collisions with duplicate names.  Azure doesn't support renaming of an existing blob, so this would have to be done before the upload starts.  Short of building a custom version of the Toolkit, I can't tell if this can be accomplished using the existing server-side or client-side event callbacks.  Any suggestions?


Viewing all articles
Browse latest Browse all 5678

Trending Articles