Multiple File Upload at the same time

Hello,

i am new to Itmill and really love it from what i saw till now. For a project i need to use your Upload widget, unfortunately it can only handle 1 File at a time. Is there any simple approach to use this widget to upload several files at once or do i have to create a complete new one?

Any help appreciated and keep the good work going!

regards
Dr.Schroedinger

Have you tried adding two Upload components?

PS. Check this test source, it might help you on your case:
http://dev.itmill.com/browser/branches/release/5.3.0/src/com/itmill/toolkit/tests/TestForUpload.java

Hello,

I have the same probleme. I tried to use the link above but it seems dead. Have there an existing solution ?

There have been some major refactorings since that link was posted. The equivalent file should now be located at
http://dev.vaadin.com/browser/versions/6.2/tests/src/com/vaadin/tests/TestForUpload.java

ok, thanks

Hi,

Actually, I have this problem but in the sample TestForUpload.java does not allow select multiple file in the same window. I need something like gmail where you can select multiple files and click the button to open, then the files selected are attached to the email.

This exists in Vaadin? Thank you.

There is no standard way to do this with a browser without client side plugins, and core Vaadin does not rely on any browser plugins, so Vaadin does not support this.

This is possible to do e.g. with Flash, Java or Silverlight on the client, but you would need to write a Vaadin add-on e.g. for the (Flash-based) swfupload or some other implementation, and probably provide a fall-back mechanism using single file upload if the browser does not have Flash installed. I believe such an add-on would be useful for many users if published in the directory.

See also
this thread
.

Thanks.

Hi Henri Sara,
I want to select multiple files at the same time, its possible in vaadin?

I’m not the only one on the forum.

Anyway, several newer browsers now support HTML5 multiple file upload. On other browsers, it might be possible to use e.g. a Flash plug-in as a fallback.

As also mentioned in some other threads on the forum, there are at least two add-ons in the directory that can help you with this,
EasyUploads
and
MultiFileUpload
which seems to be developed on top of EasyUploads.

Is it possible to select multiple files at the same time in new Vaadin Version ???