public void sendFTPCommand(String command) throws IOException {
  writer.writeLine(command);
  for (Iterator iter=communicationListeners.iterator(); iter.hasNext(); ) {
    FTPCommunicationListener l=(FTPCommunicationListener)iter.next();
    l.sent(command);
  }
}

public void sendFTPCommand ( String command ) throws IOException { writer . writeLine ( command ) ; for ( Iterator iter = communicationListeners . iterator ( ) ; iter . hasNext ( ) ; ) { FTPCommunicationListener l = ( FTPCommunicationListener ) iter . next ( ) ; l . sent ( command ) ; } }
this method sends a command line to the server .
