title: Post multiple files by List<HttpPostedFileBase>
body: <p>I just want to post my multiple files to controller via model. </p>
  
  <pre><code>class myModel{
      public List&lt;string&gt; contexts {get;set;}
      public List&lt;HttpPostedFileBase&gt; images {get;set;}
  }
  </code></pre>
  
  <p>And there is Html </p>
  
  <pre><code>&lt;input id="myImages" type=file multiple="multiple&gt;
  </code></pre>
  
  <p>User add files to input tag and text inputs creating dynamically based on files count</p>
  
  <pre><code>&lt;input id="text0"&gt;&lt;/input&gt;
  &lt;input id="text1"&gt;&lt;/input&gt;
  &lt;input id="text3"&gt;&lt;/input&gt;
             ...
             .
  </code></pre>
  
  <p>After user fill the text inputs. hit the save button.
  and I want to pass these datas to my controller via my model. 
  I try form data but I couldn't be success</p>
  
  <p>there is my trying</p>
  
  <pre><code>&lt;script&gt;
      function someFunction(){
          var data = new FormData();
          for (i = 0; i &lt; $("#myImages")[0].files.length; i++) {
              data.append("images[]", $("#myImages")[0].files[i]);
              data.append("contexts[]", $("#text" + i).val());
          }
          $.ajax
          ({
              url: "/Admin/CreateGallery",
              type: "POST",
              data: data,
              contentType: false,
              processData: false,
              success:function(){
                  alert("very well");
              }
          });
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>I can get contexts but images list always null</p>