title: Uploading certain file types to server through Dropzone.js
body: <p>I'm trying to upload Microsoft Access-files to my webserver, using dropzone.js. Most files seem to upload fine: My action is called, and the files end up in the right folder. But if I try to send for example .mdb (MS Access) or .pdf files, the action isn't even called, and dropzone reports that server responded with 0 code. </p>
  
  <p>I do not use any <code>acceptedFiles</code> or <code>acceptedMimeTypes</code> options in dropzone, and as far as I know, leaving them out should make it accept any filetypes. Also, if I restrict a file type, it does give me a proper message that the file type is not allowed.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div id="dropzone"&gt;
      &lt;form action="/Synchronizations/Upload" method="post"
          enctype="multipart/form-data" class="dropzone"
          id="myAwesomeDropzone"&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Javascript looks like:</p>
  
  <pre><code>    &lt;link href="/Content/css/dropzone.css" rel="stylesheet" type="text/css" /&gt;
      &lt;script src="/Scripts/dropzone.js"&gt;&lt;/script&gt;
      &lt;script&gt;
          Dropzone.options.myAwesomeDropzone = {
              paramName: "file", 
              maxFilesize: 200
          };
      &lt;/script&gt;
  </code></pre>
  
  <p>The action looks like:</p>
  
  <pre><code>    [HttpPost]
      public void Upload(IEnumerable&lt;HttpPostedFileBase&gt; file)
      {
          foreach (var f in file)
          {
              var fileName = Path.GetFileName(f.FileName);
              var path = Path.Combine(Server.MapPath("~/Uploads/"), fileName);
              f.SaveAs(path);
          } 
      }
  </code></pre>
  
  <p>Any ideas?</p>