문제

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