470,874 Members | 1,486 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,874 developers. It's quick & easy.

multi-file upload with a twist


I'm looking for a PHP script that supports multi-file upload.
However, because my users could potentially be uploading hundreds of
files, the existing multi-file upload scripts that people have written
are not feasible. They involve selecting each file one at a time and
uploading.

Does anyone have a good solution for this or know if such a script
exists? I'd like a file browser that will allow several files to be
selected at once, of possibly allow the user to select a local
directory and have the script upload everything in that directory
(including subdirectories). Another option is a script that allows a
user to select multiple files, click upload, and have the script
actually zip up the files into one file before uploading the single
file. Not sure if such a thing exists.

If nothing like this is feasible, my only other option is to have the
user zip up the files and then just upload the one zip file. While
this will work, I'd really like to find an easier interface since the
majority of my users are not going to be very computer saavy.

Thanks,
Dustin
Jul 17 '05 #1
3 1788
Dustin wrote:
I'm looking for a PHP script that supports multi-file upload.
However, because my users could potentially be uploading hundreds of
files, the existing multi-file upload scripts that people have written
are not feasible. They involve selecting each file one at a time and
uploading.

Does anyone have a good solution for this or know if such a script
exists? I'd like a file browser that will allow several files to be
selected at once, of possibly allow the user to select a local
directory and have the script upload everything in that directory
(including subdirectories).
The file upload menu doesn't allow to select multiple files. Your script
will have to provide as many input elements as the user wants to
upload files.

There seems to be a Java solution: <http://jupload.biz/>. Never tried it
though.

have the script actually zip up the files into one file before
uploading the single file. Not sure if such a thing exists.


The user has to zip the file; the server has (hopefully!) no access to
the user's computer.
Matthias

Jul 17 '05 #2
On Mon, 19 Jul 2004 13:14:42 GMT, Dustin
<du***********@no-spam.yahoo.com> wrote:

I'm looking for a PHP script that supports multi-file upload.
However, because my users could potentially be uploading hundreds of
files, the existing multi-file upload scripts that people have written
are not feasible. They involve selecting each file one at a time and
uploading.

Does anyone have a good solution for this or know if such a script
exists? I'd like a file browser that will allow several files to be
selected at once


By the specs, <input type=file> allows the user to select any number
of files for upload, although I think Opera is the only browser to
support this.

Having the user zip their files and then unzipping them server-side is
probably the best solution for non-Opera users. Added bonus is that
the user will have less data to transfer :-)

--
David ( @priz.co.uk )
Jul 17 '05 #3

Thanks everyone for the responses.

-Dustin

On Mon, 19 Jul 2004 15:23:13 +0100, David Mackenzie <me@privacy.net>
wrote:
On Mon, 19 Jul 2004 13:14:42 GMT, Dustin
<du***********@no-spam.yahoo.com> wrote:

I'm looking for a PHP script that supports multi-file upload.
However, because my users could potentially be uploading hundreds of
files, the existing multi-file upload scripts that people have written
are not feasible. They involve selecting each file one at a time and
uploading.

Does anyone have a good solution for this or know if such a script
exists? I'd like a file browser that will allow several files to be
selected at once


By the specs, <input type=file> allows the user to select any number
of files for upload, although I think Opera is the only browser to
support this.

Having the user zip their files and then unzipping them server-side is
probably the best solution for non-Opera users. Added bonus is that
the user will have less data to transfer :-)


Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

37 posts views Thread by ajikoe | last post: by
17 posts views Thread by =?Utf-8?B?R2Vvcmdl?= | last post: by
14 posts views Thread by =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post: by
4 posts views Thread by =?Utf-8?B?SGVucmlrIFNjaG1pZA==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.