title: Apache Commons Net API usage
body: <p>I am making a program to connect to FTP Server using FTPCLient class of apache commons net API. here is code:</p>
  
  <pre><code>    FTPClient client = new FTPClient();
      byte[] b = new byte[4];
      b[ 0] = new Integer(127).byteValue();
      b[ 1] = new Integer(0).byteValue();
      b[ 2] = new Integer(0).byteValue();
      b[ 3] = new Integer(1).byteValue();
      try{
  
              InetAddress address = InetAddress.getByAddress(b);
          client.connect(address,22);
  
         }
  </code></pre>
  
  <p>.....
  I get the exception at connect line(). </p>
  
  <pre><code>org.apache.commons.net.MalformedServerReplyException: Could not parse response code.
  </code></pre>