tags:

views:

190

answers:

4

Hi guys, I want to upload multiple files using java: are there any articles on the subject?

A: 

Your question is not clear. If you mean using Javascript then you can use libraries like extjs that provide control for multiple uploads

techzen
i thought he wanted to use java?
Joel
yes but - it appeared that the person asking the question was unclear about it and so the answer was suggestive of the options.
techzen
strange .. asking for a solution in Java and accepting the javascript answer...
Andreas_D
+1  A: 

if you use java for web you can use jsp :

http://www.roseindia.net/jsp/file_upload/uploadingMultipleFiles.shtml

SjB
I'd also link directly to the Apache Commons project discussed in the tutorial - FileUpload - http://commons.apache.org/fileupload/
Nate
Though I've usually handled file uploads in a servlet rather than directly in the JSP... separation of presentation and control...
Nate
RoseIndia is the **worst** source when it comes to the practices used in code examples. I wouldn't mention it to new-to-java users.
BalusC
A: 

Apache MINA has a ftp server written in Java - http://mina.apache.org/ftpserver/ - could easily be used with any ftp client to upload multiple files.

Thorbjørn Ravn Andersen
+3  A: 

Here's an excellent Java applet for uploading multiple files, including full source:

http://sourceforge.net/projects/jupload/

pygorex1
Another Java applet you might want to try: [JCustomUploader](http://dound.com/projects/JCustomUploader) (multiple files, drag and drop, parallel uploads, only needs Java 1.4+)
David Underhill