code: public void setPassiveMode(boolean passiveMode)
          throws IOException, ClientException, ServerException {
          if (passiveMode) {
              setPassive();
              setLocalActive();
          } else {
              setLocalPassive();
              setActive();
          }
      }
docs: Enables/disables passive data connections.
  
  @param passiveMode if true passive connections will be
  established. If false, they will not.