title: What type of error is this Error: ENOENT: no such file or directory, open
body: <p>I am getting stuck at this error and not able to resolve this issue.</p>
  
  <blockquote>
    <p>Error: ENOENT: no such file or directory, open 'C:\Users\sagarkumar\AppData\Loca
    l\Temp;C:\Program Files\Java\jdk1.7.0_51\bin\8852-120drlh.jpg'</p>
  </blockquote>
  
  <pre><code>This is app.js file
  
  var express  = require('express');
  var connect = require('connect');
  var app      = express();
  var port     = process.env.PORT || 8080;
  
  // Configuration
  app.use(express.static(__dirname + '/public'));
  app.use(connect.cookieParser());
  app.use(connect.logger('dev'));
  app.use(connect.bodyParser());
  
  app.use(connect.json());
  app.use(connect.urlencoded());
  
  // Routes
  
  require('./routes/routes.js')(app);
  
  
  app.listen(port);
  console.log('The App runs on port ' + port);
  </code></pre>
  
  <p>This is route.js file</p>
  
  <pre><code>var fs = require('fs');
  module.exports = function(app) {
  
  app.get('/',function(req,res){
  res.end("Node-File-Upload");
  
  });
  /*
   app.post('/upload', function(req, res) {
  
  console.log(req.files.image.originalFilename);
  console.log(req.files.image.path);
  fs.readFile(req.files.image.path, function (err, data){
  var dirname = "sagar/";
  var newPath = dirname + "/uploads/" +   req.files.image.originalFilename;
      fs.writeFile(newPath, data, function (err) {
      if(err){
      res.json({'response':"Error"});
      }else {
      res.json({'response':"Saved"});
  
  }
  }); 
  });
  */
  
  app.post('/upload', function(req, res) {
  
  res.json({'response':"Saved"});
  
  }
  );
  </code></pre>
  
  <p>This is android code(client side) making json request(Only requesting part).
  There is select button which is choosing image from gallery and upload button making request to nodejs server. </p>
  
  <pre><code> upload.setOnClickListener(new View.OnClickListener() {
   @Override
   public void onClick(View v) {
        File f = new File(path);
        Future uploading = Ion.with(nodejs.this)
             .load("http://192.168.0.101:8080/upload")
             .setMultipartFile("image",f)
              .asString()
              .withResponse()
              .setCallback(new FutureCallback&lt;Response&lt;String&gt;&gt;() {
              @Override
              public void onCompleted(Exception e,             Response&lt;String&gt; result) {
               try {
                  JSONObject jobj = new JSONObject(result.getResult());
                 } 
               catch (JSONException e1) {
                   e1.printStackTrace();
                   }
  
                   }
                   });
          }
  
      }); 
  </code></pre>