title: Uploading a file with filtering its extension
body: <p>I have an ASP.Net web application in which i have to upload a file:</p>
  
  <pre><code>@using (Html.BeginForm("Uploading_validation", "Super", FormMethod.Post, new { enctype = "multipart/form-data" }))
  {
      &lt;input type="file" name="dossier"  accept="*.iso, *.rar, *.zip"/&gt;
     &lt;br /&gt;
      @Html.Label("Date d'expiration")
  
      &lt;input type="text" id="datepicker" name="duree" /&gt;
      &lt;br /&gt;
   &lt;input type="submit" value="OK" /&gt;
   }
  </code></pre>
  
  <p>I'd like accept just the extensions <code>accept="*.iso, *.rar, *.zip"</code>, but it didn't work.</p>
  
  <p>Why does this filter not work? How can i modify the code?</p>