Search code examples
javascriptazurefine-uploader

Fineuploader uploading directly to Azure Blob Storage - get file uri within Javascript


I am uploading files via fineuploader directly to Azure Blob Storage and I want to know if I can access file URI (on Azure Blob Storage) once file is uploaded?

I understand that I can call API where fineuploader provides all kinds of information which is described in http://docs.fineuploader.com/branch/fix_thumbnail-performance/endpoint_handlers/azure.html#optional-server-side-tasks but I wonder if there is some possibility to access this information (file uri etc) in javascript callback - without sending it to any API.


Solution

  • I resolved this one. I am using internal API of fineuploader - I didn't find it documented anywhere.

    In complete event I am calling this:

    var blobName = $(this).fineUploaderAzure("getBlobName", id);
    

    Edit: As Ray mentioned in comment below this feature is documented in official documentation