title: NodeJS Multer is not working
body: <p>I tried to file upload with NodeJS + ExpressJS + Multer but does not work well.</p>
  
  <p>My ExpressJS Version is 4.12.3</p>
  
  <p>this is my source</p>
  
  <p>server.js:</p>
  
  <pre><code>var express = require('express'),
      multer  = require('multer');
  
  var app = express();
  app.use(express.static(__dirname + '/public'));
  app.use(multer({ dest: './uploads/'}));
  
  app.post('/', function(req, res){
      console.log(req.body); // form fields
      console.log(req.files); // form files
      res.status(204).end()
  });
  app.get('/', function(req, res)  {
      res.sendFile('public/index.html');
  });
  
  app.listen(5000, function() {
      console.log("start 5000");
  });
  </code></pre>
  
  <p>public/index.html:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head lang="en"&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form method="post" enctype="multipart/form-data"&gt;
          &lt;input id="file" type="file"/&gt;
          &lt;button type="submit"&gt;test&lt;/button&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>My NodeJS Console Log when I click Submit Button:</p>
  
  <pre><code>"C:\Program Files\nodejs\node.exe" server.js
  start 5000
  {}
  </code></pre>
  
  <p>on NodeJS Console, there is empty object at req.files
  Is some problem on my source?</p>