angular-file-upload icon indicating copy to clipboard operation
angular-file-upload copied to clipboard

Upload Progress Not Incrementing

Open seivad opened this issue 8 years ago • 3 comments

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);
    }

seivad avatar Aug 17 '17 22:08 seivad

Anyone got ideas?

seivad avatar Aug 22 '17 00:08 seivad

Do the demos work as expected?

nervgh avatar Aug 22 '17 18:08 nervgh

@seivad did you found out what went wrong? I'm stuck on this too...

ValerieEskens avatar Apr 03 '18 15:04 ValerieEskens