if(commandReply.getLines().size() == 1) { (ReplyWorker.readReply(socketProvider)).dumpReply(); }
    public void downloadFile(FTPFile fromFile,File toFile) throws IOException,FtpWorkflowException,FtpIOException    {    	    	RetrieveCommand command = new RetrieveCommand(Command.RETR,fromFile,toFile);    	SocketProvider provider = null;    	if (getConnectionType() != FTPConnection.FTP_CONNECTION		 && getConnectionType() != FTPConnection.IMPLICIT_SSL_FTP_CONNECTION) {			Command pbsz = new Command(Command.PBSZ, "0");			(sendCommand(pbsz)).dumpReply();			Command prot = new Command(Command.PROT, "P");			(sendCommand(prot)).dumpReply();		}        if(isPassiveMode())        {            provider = initDataSocket(command);        }        else        {        	provider = sendPortCommand(command);        }        command.setDataSocket(provider);        //INFO response from ControllConnection is ignored        command.fetchDataConnectionReply();    }