try this link I hope it will give u
http://stackoverflow.com/a/15438553/1966993[
^]
use progress bar to show the progress of the files uploaded and in the for loop try to increment the progress bar value.
For suppose if you have 10 files to upload then in for loop increment by 10 and by the end of 10 files, your progress bar is 100% and works perfectly.
Try this and let us know if this works for you.
Thanks
Ganesh