if(commandReply.getLines().size() == 1) { (ReplyWorker.readReply(socketProvider)).dumpReply(); }
    public void uploadFile(File fromFile,FTPFile toFile) throws IOException,FtpWorkflowException,FtpIOException    {    	    	StoreCommand command = new StoreCommand(Command.STOR,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();        }                Reply commandReply = new Reply();        if(isPassiveMode())        {        	provider = initDataSocket(command,commandReply);        }        else        {        	provider = sendPortCommand(command,commandReply);        }        if(commandReply.getLines().size() == 1)        {        	(ReplyWorker.readReply(socketProvider)).dumpReply();        }        command.setDataSocket(provider);        //INFO response from ControllConnection is ignored      	command.fetchDataConnectionReply();    }