title: FTPClient login method replies 530 PASS command failed from the server
body: <pre><code> FTPClient client = new FTPClient();
      try
      {
          client.connect(currentServerHostname);
          System.out.println("Connection is successful");
          System.out.println("Reply String: " + client.getReplyString());
          client.login(currentServerUser, currentServerPass);
          System.out.println("login ok");             
          System.out.println("Reply String: " + client.getReplyString());
      }
      catch (Exception e) {
        System.out.println("No connection was established");
      }
  </code></pre>
  
  <p>This code shows error like 530 Pass command failed in the line client.login() method.</p>