HelloPilgrimX182 wrote: this will delay opening progress bar, maybe will help, maybe will just let upload file for 2 seconds, then stuck.
I replaced the code with yours. It does delay the progress bar, but shortly after (15%), it paused again. It seems that the progress javascript is colliding with the upload handling somehow.
So with your code.
1. The upload starts and is steady
2. 2 seconds go by and the progress bar appears
3. Shortly after upload and progress bar 'hang'
4. Progress bar reports upload failed
5. Upload resumes and finishes without hanging again.
I also added the new code to my test application in case you wanted to take a look.
Thanks!
hanji