Logo Search packages:      
Sourcecode: jftp version File versions  Download package

void net::sf::jftp::net::FtpConnection::disconnect (  )  [inline]

Disconnect from the server. The connection is marked ad closed even if the server does not respond correctly - if it fails for any reason the connection should just time out

Implements net::sf::jftp::net::BasicConnection.

Definition at line 2031 of file FtpConnection.java.

References connected, getLine(), jcon, net::sf::jftp::net::FtpConstants::QUIT, and net::sf::jftp::net::JConnection::send().

    {
        jcon.send(QUIT);
        getLine(POSITIVE);//FTP221_SERVICE_CLOSING);
        connected = false;
    }


Generated by  Doxygen 1.6.0   Back to index