title: nodejs : use jsftp on specific network interface
body: <p>I am using <a href="https://github.com/sergi/jsftp" rel="nofollow">jsftp</a>.</p>
  
  <p>Everything works fine when I connect to a regular FTP server on internet.
  I want to connect to a serv on a local network, using another network interface but I can't find a way with jsftp, I didn't find any other ftp package that offer me something like this.</p>
  
  <p>Is there anyway I can use another network interface ?</p>
  
  <p>I make something like this:
  </p>
  
  <pre><code>var Ftp = new JSFtp({
      host: "10.xxx.xxx.xxx",
      port: port,
      user: username,
      pass: password
  });
  Ftp.on('error', function(err){
      console.log(err);
  });
  Ftp.put(buff, filePath, function (err) {
      if (err) console.log(err);
  });
  </code></pre>
  
  <p>I get this error :</p>
  
  <pre><code>{"code":"ETIMEDOUT","errno":"ETIMEDOUT","syscall":"connect"}
  </code></pre>
  
  <p>But I can connect in shell using curl with something like :</p>
  
  <pre><code>curl --interface anotherinterface ftp://10.xxx.xxx.xxx
  </code></pre>