Tuesday, October 19, 2010

Upload multiple Files from single “File upload input” control

Today I come across a situation in one of my projects where I had  to upload multiple files from a single input file control in HTML. And I found its not possible in HTML to upload multiple files from a single file upload control.

Luckily, I found 2 ways to achieve this functionality.  And both are using JavaScript code (JQuery).

1. Upload files one by one from a single file upload control.

Checkout this plug-in:

http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Overview

2. Select multiple files from the browse popup, pressing “CTRL” button on your keyboard.

Checkout this JQuery plug-in this really works: http://www.uploadify.com

There must be more ways to do this same thing. If you know them please discuss in comments.

No comments: