Page 1 of 1

HTML5 Multiple File Upload limitations

Posted: Fri Feb 17, 2012 9:47 pm
by timailius
As per your request, I'm copying my YouTube comments here so that we can discuss in further detail:

I am having similar problems as several of the users who commented on your YouTube video regarding limitations on number of files, (20 seems to be the max).

But more importantly, I'm having issues with limits on TOTAL upload size. After testing files of varying sizes, it seems to allow a total upload size of 8194 Kb, but will simply reset at a total upload of 8195 Kb, (i.e. peaking at ~8 MB). Which means video files of 12+ MB are out of the question... Any idea how to set/reset this limitation?

Interestingly, this only occurs in Chrome/Firefox. Safari also limits to 20 files, but does NOT appear to follow the same TOTAL size limits. In fact, I can't figure out what it's doing... It allows 20 separate files @ 2600 KB each, (2,600 * 20 = ~52,000 KB), but fails and resets on a single .avi file @ ~25,000 KB. So when the individual files are smaller, it allows them, but there is also a size limit on the individual files themselves...?

I've been scouring the internet for answers with no success, but my experience tells me that issues like these are hard to pin down using Google. Php.net talks about size limits set in a php.ini file, but that should be on the server and should therefore be constant over all browsers, yes?

Any help on this would be great.

Thanks, and keep the tutorials coming! They're great!

Re: HTML5 Multiple File Upload limitations

Posted: Sun Feb 19, 2012 1:21 am
by jacek
timailius wrote:Php.net talks about size limits set in a php.ini file, but that should be on the server and should therefore be constant over all browsers, yes?
Yes ! The only thing I can think of really is the pos_max_size setting in php.ini.

The difference could be sue oto differences in the way the various browsers handle the fiele uploads maybe.

I would try turning up all of the settings that cab limit file upload to their max first. If that doesnt work I guess we will have to investigate more :)

could you also post your code ? Just so I can make sure you havent somehoe caused the problem.