PilgrimX182 wrote:this will delay opening progress bar, maybe will help, maybe will just let upload file for 2 seconds, then stuck.
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.