I have implemented the multiple file selection using PLUpload framework.
It is possible to get Request.Files in controller to be passed to model (there will process the files) ?
I know that Request.Files get automatically the all input type='file' tags from the page.
What workaround is necessary to do ?
I don't want to upload files before submitting form. I want when submit the form then the upload will proceed as such.
Example: After selecting two files, I have the following tags in HTML code:
<div id="filelist">
<div id="p17lu3r33g14jk1dg31u0dg1l1lll3">test.xml (272 KB) <b></b></div>
<div id="p17lu3r33h9mt2oiel81l5t17iq4">abcde.xml (272 KB) <b></b></div>
</div>
And the HTML code for uploader form:
<div id="upload-container">
<div>
<a id="pickfiles" href="#">Select files</a>
<a id="uploadfiles" href="#">Upload selected files</a>
</div>
<div>
<div id="filelist">
</div>
</div>
</div>