views:

32

answers:

0

I have a problem in which I need to upload multiple files using multipart POST request, I need a single browse button to choose the uploaded files. I've seen JQuery Plugin for multi file upload, but there is a problem that only one file is uploaded several times. the post request file parameters are sent with the same name. My question is how to deal with this behaviour so that file params are sent with different names?

Here is the my HTML:

<form id="uploadFormId" name="uploadForm" method="POST" enctype="multipart/form-data" action="http://..."&gt;
<input type="file" name="MultiFile" id="uploadFileId" class="multi"/>
<input type="submit" value="Upload"/>

Thanks