1

In HTTP protocol, I want let users upload some file(s). I am going to use a Javascript library like jQuery to display a progressbar during this process...

How do I know when the upload has completed? I need to notify another server on this and let it know that the files that were just uploaded can be downloaded now.

Thanks in advance.

Álvaro González
  • 142,137
  • 41
  • 261
  • 360
ivo
  • 587
  • 8
  • 21
  • That's trivial: when the on-success callback gets called. The usual problem is getting partial upload information... – Álvaro González May 30 '16 at 12:19
  • I think this question was asked before, so this may be of help: http://stackoverflow.com/questions/15410265/file-upload-progress-bar-with-jquery – bj7 May 30 '16 at 12:28

1 Answers1

0

for the upload finished you could just do like this and use ajax to send notification to the other server

sdx11
  • 181
  • 1
  • 1
  • 9