public static FtpMessage command(FTPCmd command) {
        Command cmd = new Command();
        cmd.setSignal(command.getCommand());
        return new FtpMessage(cmd);
    }
public static FtpMessage command ( FTPCmd command ) { Command cmd = new Command ( ) ; cmd . setSignal ( command . getCommand ( ) ) ; return new FtpMessage ( cmd ) ; }
Sets the ftp command.
@param command
@return