Select multiple files to upload to a web page

I am creating a file download web page that has the ability to handle multiple downloads. Ideally, I would like to allow the user to select a folder and a web page to list files in a folder on the client side, but I do not think that this is possible without a browser plug-in.

Alternatively, is it possible to allow the user to select multiple files in the File / Open dialog box using Shift-click and Ctrl-click and list them?

To be clear, I do not want the user to have to specify each file separately, opening and closing the File / Open dialog many times.

I cannot use Flash or any other type of binary plugin, but jQuery is fine. I need to support IE7 +, Firefox and Safari.

+4
source share
4 answers

I highly recommend reading this article by Rick Strahl

short answer for HTML5

<form method="post" enctype="multipart/form-data"> <label>Upload Images:</label> <input type="file" multiple="multiple" name="File1" id="File1" accept="image/*" /> <hr /> <input type="submit" id="btnUpload" value="Upload Images" /> </form> 
+1
source

Is it possible to allow the user to select multiple files in the File / Open dialog box using Shift-click and Ctrl-click and list them?

No.

Although in fact, according to the HTML specification, the file upload fields should have originally allowed this. Opera supported this in an older version, but made many web applications that did not expect several files to crash, so they stopped it.

The only way to do this today is with a plugin, it is desirable that the Flash loader supports several controls for loading a single HTML file as a backup.

+3
source

May try try www.pulpload.com. Depending on the browser, this may be a good way to download multiple files.

0
source

You need Flash or Java to select multiple files to load.
Check it out: http://www.uploadify.com/
There are tons of other solutions ... But none of them are pure HTML.

0
source

All Articles