title: Uploading multiple files in one request Dropzone Asp.Net Core 2
body: <p>I am using DotNet Core 2 MVC for my web application with Dropzone 4.3</p>
  
  <p>I am trying to upload multiple files, my controller is receiving nothing.</p>
  
  <p>Here is my JS code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>    Dropzone.options.uploader = {
          paramName: "file", // The name that will be used to transfer the file
          maxFilesize: 10, // MB
          url: '/Home/Upload',
          acceptedFiles: ".txt,.pc1",
          method: "Post",
          //autoProcessQueue: false,
          uploadMultiple: true,
          clickable: true,
          addRemoveLinks: true,
          createImageThumbnails: true,
  
          accept: function (file, done,response) {
              if (file.name == "test.jpg") {
                  alert("Can't upload a test file.");
              }
              else {
                  //Show a confirm alert and display the image on the page.
     
                  done(); 
                  
  
              }
          }
  
  
      };</code></pre>
  </div>
  </div>
  </p>
  
  <p>My html code :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="dropzone"&gt;
       &lt;form   class="dropzone needsclick dz-clickable" id="uploader"enctype="multipart/form-data"&gt;
             &lt;div class="dz-message needsclick"&gt;
                    Drop files here or click to upload.&lt;br&gt;
             &lt;/div&gt;
       &lt;/form&gt;                              
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My controller action method :</p>
  
  <pre><code> [![Screenshot of Action Method in Debug Mode][1]][1]
  </code></pre>
  
  <p>As you can see the action method is hit however no files are received.</p>
  
  <p>when the action method is as below then multiple concurrent hits are done to the action method with file.  </p>
  
  <pre><code>public async Task&lt;IActionResult&gt; Upload(Microsoft.AspNetCore.Http.IFormFile file)
  </code></pre>
  
  <p>However I would want one request with multiple files collection.</p>
  
  <p>Is this possible?</p>
  
  <p>Also note when autoProcessQueue: false is present it is does not hit my action method.</p>