views:

347

answers:

1

I am building a file upload web page that has the capability to process multiple upload files. Ideally I would like to allow the user to select a folder and have the web page enumerate the files in the folder client-side, but I don't think that's possible without a browser plugin.

Alternatively, would it be possible to allow the user to select multiple files in the File/Open dialog using Shift-click and Ctrl-click, and enumerate those?

To be clear, I don't want the user to have to specify each file individually by repeatedly opening and closing a File/Open dialog.

I can't use Flash or any other type of binary plugin, but jQuery is OK. I need to support IE7+, Firefox and Safari.

+2  A: 

would it be possible to allow the user to select multiple files in the File/Open dialog using Shift-click and Ctrl-click, and enumerate those?

No.

Although actually, according to the HTML spec, file upload fields were originally supposed to allow it. Opera supported this in an older version, but it made many webapps that weren't expecting multiple files fall over, so they stopped it.

The only way to do it today is with a plugin, preferably a Flash uploader backed with multiple HTML single-file-upload controls as fallback.

bobince
I will use an "add file" button for the initial version. If user feedback says that multiple file selection is required, I will tell them that it requires a Flash or Java dependency. Thanks for the info.
Robert Harvey