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

boolean net::sf::jftp::net::FtpConnection::cdup (  )  [inline]

Change to the parent of the current working directory. The CDUP command is a special case of CWD, and is included to simplify the implementation of programs for transferring directory trees between operating systems having different syntaxes for naming the parent directory.

Returns:
True if successful, false otherwise

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

Definition at line 2248 of file FtpConnection.java.

References net::sf::jftp::net::FtpConstants::CDUP, jcon, and net::sf::jftp::net::JConnection::send().

    {
        jcon.send(CDUP);

        return success(POSITIVE);//FTP200_OK);
    }


Generated by  Doxygen 1.6.0   Back to index