I have a question about the use of Blueimp jQuery-File-Upload plugin (https://github.com/blueimp/jQuery-File-Upload)
There is a callback function or an alternative method, to know when is finished an upload of multiple files? I do not want to know when is finished the upload of every single file, but when is finished the entire process (All Uploads Complited).
There is also the opportunity to know how many files have actually been loaded and how many they were requested?
Yes, you can call it API to track the end of a multiple upload process:
Just on this guys, you can get the number of active uploads using the below:
See: https://github.com/blueimp/jQuery-File-Upload/wiki/API#retrieving-the-number-of-active-uploads
I was going to use a counter on always callback function to compare to this variable. But stop looks like it works perfectly.
Just want to clarify. If i have multiple singular file upload requests is stop() the best approach?
Please have a look at the "stop" callback option:
.bind('fileuploadstop', function (e) {/* ... */})
And If you want to track uploaded files try to use this:
Your collections
data.filesonly contain 1 object each, hence you can track the count of files been uploaded.
On my case, I followed two answer's and didn't work.
So disable iPV6 make things work. It seems iPV6 throws a false positive to all uploads done.