• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Multiple File Upload html element ?

Hello,


Does anyone have a solution to select multiple files in a "file"-type html element.
With a normal <input type ='text' the user can only select one file.

- I don't want to include multiple <input type = 'text' elements
- I've tried it with jupload.biz applet but it doesn't completele work because my 'postprocessor'-file does some javascripts/iframes etc and this doesn't work in the swing-frame jupload uses.

Does anyone know of an applet/activex that lets you select multiple files and then 'posts' them to a 'postpreocessor'-page in a browser ?


Tnx anyway
0
Xyleen
Asked:
Xyleen
3 Solutions
 
XyleenAuthor Commented:
Tnx for the comment but this is not what i'm looking for.

I'm using jspSmartUpload to save the file in the 'postprocessor' file and it works fine if i for instance use multiple <input type = "file" - elements.

I want something that lets a user select multiple files and then posts them all to another file.

0
 
CodingExpertsCommented:
What you can probably do is ... upload one file at a time, clearing the file input field every time you upload and all the uploaded filenames in a list below. Keep a track of all the files uploaded in a list and on submit use that list.

-CE
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
XyleenAuthor Commented:
that way the user still has to select one file at the time.

If you want to e.g. 150 (little) files it's not user-friendly
0
 
CodingExpertsCommented:
Okay ...what you can probably do is to implement a checkbox treeview of the file system and let the user select whatever files he want to in the treeview which on submit button click goes to the server.

Else instead of a tree view you can have a listbox and enable multiple select feature.

-CE
0
 
XyleenAuthor Commented:
that way i'll only have the filename he can select, i got to have the file itself.
With only the filename i won't be able to get the file from the user's file system. If this would be possible, it would be a big security risk.
0
 
CodingExpertsCommented:
0
 
XyleenAuthor Commented:
These objects are fine treecreators but don't fix the problem i need to get the file from the client computer to the server ...
0
 
javazoomCommented:
What about trying an Applet that allows to upload multiple file(s) and folder(s) ?
http://www.javazoom.net/applets/jclientupload/jclientupload.html
0
 
XyleenAuthor Commented:
Hello,


Tnx all, but i found a 'solution'. I'm letting the user upload a .zip file now that is being unzipped and processed

I will be splitting the points.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now