dpd-fileupload
dpd-fileupload copied to clipboard
Send events for progress
Example with Formidable:
on('progress', function(bytesReceived, bytesExpected) {
var percentageUpload = '100*(bytesReceived/bytesExpected)';
ctx.session.emit(percentageUpload, xxx, xxx); // Should emit only to user
}
No pun intended, but any progress on this front?
Looking at my list this is the last feature I need to tick off before I try to sell the framework to our stakeholders
No, somebody started to work on this and we realize that it's actually tricky to get, so, I don't think we'll make it soon :/
That's a shame, though I sympathize with your plight. I have solved this problem in two ways before:
https://github.com/freeall/progress-stream works well with multer/express
or
Socket.IO to track progress https://github.com/vote539/socketio-file-upload
Don't know how useful this will be for you but they did the trick on my minimal express apps