Search code examples
javascriptajaxresumablejs

Resumable.js - retrive success server response


How do I get the response data from the last chunk uploaded? I cant find it anywhere, the only thing that I found was that you can only access the message on error

Thanks


Solution

  • Found it! If you want to retrive the data from the file uploading you need this:

        r.on('fileSuccess', function(file, event) {
            console.log(event);
        });