HTML5 file upload - stuck on very large files - Firefox only
file-upload, firefox, html, javascript
Solution
I don't think this is a browser bug, but rather a bug in the upload program. I tested with uploading a 1GB and 2GB file and the upload started right away without waiting at all.
Make sure your test is valid but I found the following unexpected behavior.
case 1: 1. begin upload 1G file 2. upload started normally and progress is normal 3. before completing upload, click on Browse and upload a 2G file 4. upload started normally and progress is messed up. showing negative speed and stuff.
case 2: 1. begin upload 2G file 2. upload started normally and progress is normal 3. before completing upload, click on Browse and upload a 1G file 4. upload started normally and progress is messed up. showing negative speed and stuff.
case 3: 1. begin upload a 1G file 2. upload started normally and progress is normal. 3. start a new tab and begin upload a 2G file 4. upload started normally and progress is normal.
looks like your program is not handling the first two test cases, it doesn't look like a browser bug.
before disabling the upload button once file begins, try to find out why "cancel" upload is not working (if you have implemented it). it looks like there are some success to cancel file upload wtih html5 on client side.
Problem
I am trying to get a HTML5 upload to work well. So far I have it working properly, with no problems at all. The only issue I am having looks like this (Firefox browser only - Chrome works well): - load the page - try to upload a very large file (over 1GB) - upload takes a very long time to start, then progress is all screwed up and it seems to upload the file twice If between the steps 1 and 2 I upload a smaller file, the large file starts uploading properly, with good progress indication. To experience this, you need only to try the steps above on the following demo page: http://exposureroom.biz/upload.aspx. The demo page is from a well known example of HTML5 upload: http://www.matlus.com/html5-file-upload-with-progress/ . I didn't write it myself, but it behaves identically with my script and it's accessible. Is this a browser bug? Has anybody run into this before? Thanks