angular-file-upload
angular-file-upload copied to clipboard
Upload Progress Not Incrementing
Latest version, have used the script for a year or two now but now need to show a 0 to 100% incrementing percentage.
All mine ever does is go straight to 100% and then you still have to wait for the file to finish. I'd like it to increment starting at 0 up to 100% so on larger files (10mb+) we can see it's progress. Any help is appreciated.
both of these just go to 100 immediately. I have it showing in a bootstrap progress bar.
var uploader = $scope.uploader = new FileUploader({
url: 'route_to_upload...',
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
queueLimit: 100,
});
uploader.onProgressAll = function(progress) {
console.log(item);
console.log(progress);
}
console.log(progress);
}
Anyone got ideas?
Do the demos work as expected?
@seivad did you found out what went wrong? I'm stuck on this too...