private void negotiateAndLogin(String authCommand) throws IOException,AuthenticationNotSupportedException
private void negotiateAndLogin(String authCommand) throws IOException,AuthenticationNotSupportedException,FtpWorkflowException,FtpIOException
    private void negotiateAndLogin(String authCommand) throws IOException,AuthenticationNotSupportedException    {    	        Reply reply = sendCommand(new Command(authCommand));        reply.dumpReply(System.out);        if (ReplyCode.isPositiveCompletionReply(reply)) {            try            {            	socketProvider.setSSLMode(getConnectionType());                socketProvider.negotiate();            }catch (Exception e)            {                log.error(e,e);            }            (sendCommand(new Command(Command.USER, getUser()))).dumpReply(System.out);            if (getPassword() != null && getPassword().length() > 0)                (sendCommand(new Command(Command.PASS, getPassword()))).dumpReply(System.out);            if (getAccount() != null && getAccount().length() > 0)                (sendCommand(new Command(Command.ACCT, getAccount()))).dumpReply(System.out);        } else {            throw new AuthenticationNotSupportedException(authCommand                    + " not supported by server");        }    }