Page 1 of 1

UI to upload many files

Posted: Thu Dec 29, 2005 11:49 am
by nigelgilbert
I have a web application coded in PHP for which users may need to upload many files to a server - anything from one to forty files, depending on what they want to do.

I have thought of a page of <input type=file ....> fields, but this means that the poor user has to choose each file individually, which gets tedious. An easier way for the user would be for he or she to select a folder on their PC containing the files, but HTTP doesn't seem to have a way of uploading a whole folder. Another alternative would be to require the user to ZIP the files into an archive and upload that (and then automatically unzip the archive at the server end), but I want the application to be OS-neutral and usable by rather naive users who may not know anything about archives (and may not posses a copy of an archiving program).

How have others solved this problem? Have you any suggestions for the best way of doing this?

nigel

Posted: Sun Jan 01, 2006 9:34 pm
by alex.barylski
If you only need it to work on WIndows

Do a google for FSO or ADO file uploading...

I'm pretty sure you can accomplish what your trying using just that :)

Cheers :)

FSO/ADO

Posted: Mon Jan 02, 2006 8:28 am
by nigelgilbert
No, I do need to make it work with any OS: Windows, Mac and Linux. But thanks for the pointers.

Re: FSO/ADO

Posted: Tue Jan 03, 2006 5:26 pm
by alex.barylski
nigelgilbert wrote:No, I do need to make it work with any OS: Windows, Mac and Linux. But thanks for the pointers.
Then as far as I know...

Your SOL 8)

im studing a way

Posted: Fri Feb 17, 2006 9:06 pm
by guest
i had this problem too...
so, i search a lot in the internet and find that the better solution is to make a applet java that read the files on the client side(many if you wish) and compress the files, if necessary, then post to a php file, or other script language. Even i know there is a free applet at sourceforge called Jupload. Ask google for it :)
if you want to answer this my mail is ogeid08@yahoo.com.br . Im from Brazil, and sorry for bad english :)
bye!

Posted: Fri Feb 17, 2006 10:37 pm
by josh
There are PHP classes that can zip and unzip, search around.