You can upload multiple files by adding an attribute multipleto the file input tag as follows:
<input type="file" name="file" multiple />
Before submitting the form, you will need to set the “key” input field for each file. This works well with jQuery Upload Upload .
In the following examples, just add a multiplefile to the input field and it should work.
Rails example
PHP example
source
share