I am having difficulties finding information on how to get the uuid name that fine uploader assigns when it uploads. I want to add some code if the response is success then it will return the file name that fine uploader just uploaded into my aws folder. Any help is greatly appreciated.

有帮助吗?

解决方案

// ...
onComplete: function (id, name, responseJson, xhr) {
    var uuid = this.getUuid(id);
    // ...
}
// ...

onComplete : Is called when the item has finished uploading successfully (i.e., { success: true } ). You may want to get the uuid on other events. Just remember that as long as you have the file or blob's id you can use getUuid.

getUuid : Will return the UUID of the item with the associated id.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top