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

net::sf::jftp::net::FtpConnection::FtpConnection ( String  host,
int  port,
String  initCWD 
) [inline]

Create an instance with a given host, port and initial remote working directory

Parameters:
host The host to connect to
port The port used for the control connection, usually 21
initCWD The initial remote working directory

Definition at line 181 of file FtpConnection.java.

References setLocalPath().

    {
        this.host = host;
        this.port = port;
        this.initCWD = initCWD;

        File f = new File(".");
        setLocalPath(f.getAbsolutePath());
    }


Generated by  Doxygen 1.6.0   Back to index