title: ASP.NET MVC4 multiple file upload not work from mobile
body: <p>I have the following code, you can enter the site from url: <a href="http://nirh1989-001-site1.itempurl.com/" rel="nofollow">http://nirh1989-001-site1.itempurl.com/</a></p>
  
  <p>When i open the url from desktop, i can upload multiple files at once, but when i open the url from my mobile browser i can only upload 1 file at a time.</p>
  
  <p>Why?</p>
  
  <p>Index.cshtml:</p>
  
  <pre><code>@using (Html.BeginForm("Index", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
  {
      &lt;div class="container"&gt;
          &lt;div class="form-horizontal"&gt;
              &lt;div class="form-group"&gt;
                  &lt;p&gt;&lt;/p&gt;
                  &lt;label for="file"&gt;Upload Photo:&lt;/label&gt;
                  &lt;input type="file" name="file" id="file" accept="image/*" multiple="multiple" required /&gt;
              &lt;/div&gt;
              &lt;div class="form-group"&gt;
                  &lt;div&gt;
                      &lt;input type="submit" value="Upload" class="btn btn-default" /&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;hr /&gt;
  
      &lt;div class="gallery"&gt;
          @if (ViewBag.Images != null)
          {
              var imgID = 0;
              foreach (var image in (IEnumerable&lt;string&gt;)ViewBag.Images)
              {
                  imgID++;
                  &lt;a class="fancybox" rel="group" href="@Url.Content(image)"&gt;
                      &lt;img id="@imgID" src="@Url.Content(image)" style="height: 100px; width: 100px;" /&gt;
                  &lt;/a&gt;
              }
          }
      &lt;/div&gt;
  }
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>public class HomeController : Controller
      {
          // GET: Home
          public ActionResult Index()
          {
              ViewBag.Images = Directory.EnumerateFiles(Server.MapPath("/Content/Photos")).Select(f =&gt; "/Content/Photos/" + Path.GetFileName(f));
              return View();
          }
  
          //POST: Home
          [HttpPost]
          public ActionResult Index(IEnumerable&lt;HttpPostedFileBase&gt; file)
          {
              if (file != null)
              {
                  foreach (var item in file)
                  {
                      string fileName = Path.GetFileName(item.FileName);
                      string imgPath = Server.MapPath("~/Content/Photos/");
  
                      item.SaveAs(imgPath + fileName);
                  }
              }
              ViewBag.Images = Directory.EnumerateFiles(Server.MapPath("/Content/Photos")).Select(f =&gt; "/Content/Photos/" + Path.GetFileName(f));
              return View();
          }
      }
  </code></pre>