- multipe file uploads from form
- Posted by Tony on January 9th, 2006
I can't seem to find anything on the limit to the NUMBER of files you
can upload from the same form - is there one? Or is it possible to
upload 50, 100, or more files from the same HTML form?
Are there any limitations specific to the server-side processing?
Any help is much appreciated - thx!
- Posted by Charles Sweeney on January 9th, 2006
Tony wrote
I use a form where the user uploads six pictures. I'm not aware of any
limits. The pictures are processed too, checked for size, and reduced if
necessary. No problems.
I use PHP. I know you can set it to allow certain limits on the file size,
and a timeout for processing.
Why don't you try it and find out?
--
Charles Sweeney
http://CharlesSweeney.com
- Posted by KarlCore on January 9th, 2006
Tony wrote:
In theory you can probably upload as many as you want. You're probably
run into issues though, with the way your host has configured the
server. They'll have set it so that you can't upload too much stuff.
For example if you're using PHP, you have a setting called
upload_max_filesize which will limit the amount of data can be uploaded
at once.
-Karl
- Posted by Benjamin Niemann on January 10th, 2006
Tony wrote:
As others have said, there is no limit on the number of files, but
server-side toolkits usually have a limit on the filesize.
But: if your users have to upload large numbers of files, I would think of
another way than using multiple file controls for each file - as there is
no way to select complete directories or ranges of files, an user would
have to pick a single file for each of the 50 or more controls...
Instead (at least as an alternative option for more 'advanced' users) let
the user create a .zip of the files that she can upload and unzip it on the
server-side. Or you could provide FTP, WebDAV, ... access.
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/
- Posted by KarlCore on January 10th, 2006
Benjamin Niemann wrote:
That's something I forgot to mention in my original reply.
If you *need* to allow them to upload a lot of files at once, a form is
not the most user-friendly way to do it. WebDAV is a good option here.
-Karl
- Posted by 23.tony@gmail.com on January 10th, 2006
In this case, it's a dynamic form & the user can add as many upload
fields as they desire. But when the number of uploads reaches a certain
point, the server won't accept any more. I'm basically trying to track
down the possible causes. I was hoping it was some sort of HTTP
limitation, but it seems more like a server config problem...
Thanx!
- Posted by Tony on January 10th, 2006
In this case, it's a dynamic form & the user can add as many upload
fields as they desire. But when the number of uploads reaches a certain
point, the server won't accept any more. I'm basically trying to track
down the possible causes. I was hoping it was some sort of HTTP
limitation, but it seems more like a server config problem...
Thanx!
- Posted by Benjamin Niemann on January 11th, 2006
23.tony@gmail.com wrote:
HTTP has no such limitation, as said before, it's a limitation of the
server-side programming environment. And it's probably not caused by the
number of files, but by the total size of all files. Just try to upload one
(or few) large files to trigger the limit vs. many small files.
What are you using on the server-side?
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/
- Posted by Tony on January 11th, 2006
Benjamin Niemann wrote:
As I said, I was hoping this was not the case. But I expected it might
be...
..NET - and I have nothing to do with the server-side development. Best
I can do in this case is narrow the problem down, which you guys have
helped to do.


