Example usage for org.apache.commons.net.ftp FTPReply SECURITY_DATA_EXCHANGE_COMPLETE

List of usage examples for org.apache.commons.net.ftp FTPReply SECURITY_DATA_EXCHANGE_COMPLETE

Introduction

In this page you can find the example usage for org.apache.commons.net.ftp FTPReply SECURITY_DATA_EXCHANGE_COMPLETE.

Prototype

int SECURITY_DATA_EXCHANGE_COMPLETE

To view the source code for org.apache.commons.net.ftp FTPReply SECURITY_DATA_EXCHANGE_COMPLETE.

Click Source Link

Usage

From source file:ch.cyberduck.core.ftp.FTPClient.java

@Override
protected void execAUTH() throws IOException {
    if (protocol.isSecure()) {
        if (FTPReply.SECURITY_DATA_EXCHANGE_COMPLETE != this.sendCommand("AUTH", this.getAuthValue())) {
            throw new FTPException(this.getReplyCode(), this.getReplyString());
        }/*from w  w  w  .  ja v  a 2  s.  com*/
    }
}