public interface SimpleSftpClient extends SimpleClientConfigurator, Channel
DEFAULT_AUTHENTICATION_TIMEOUT, DEFAULT_CONNECT_TIMEOUT, DEFAULT_PORT
Modifier and Type | Method and Description |
---|---|
SftpClient |
sftpLogin(InetAddress host,
int port,
String username,
KeyPair identity)
Creates an SFTP session using the provided credentials
|
SftpClient |
sftpLogin(InetAddress host,
int port,
String username,
String password)
Creates an SFTP session using the provided credentials
|
SftpClient |
sftpLogin(InetAddress host,
String username,
KeyPair identity)
Creates an SFTP session on the default port and logs in using the provided credentials
|
SftpClient |
sftpLogin(InetAddress host,
String username,
String password)
Creates an SFTP session on the default port and logs in using the provided credentials
|
SftpClient |
sftpLogin(SocketAddress target,
String username,
KeyPair identity)
Creates an SFTP session using the provided credentials
|
SftpClient |
sftpLogin(SocketAddress target,
String username,
String password)
Creates an SFTP session using the provided credentials
|
SftpClient |
sftpLogin(String host,
int port,
String username,
KeyPair identity)
Creates an SFTP session using the provided credentials
|
SftpClient |
sftpLogin(String host,
int port,
String username,
String password)
Creates an SFTP session using the provided credentials
|
SftpClient |
sftpLogin(String host,
String username,
KeyPair identity)
Creates an SFTP session on the default port and logs in using the provided credentials
|
SftpClient |
sftpLogin(String host,
String username,
String password)
Creates an SFTP session on the default port and logs in using the provided credentials
|
getAuthenticationTimeout, getConnectTimeout, setAuthenticationTimeout, setConnectTimeout
SftpClient sftpLogin(String host, String username, String password) throws IOException
host
- The target host name or addressusername
- Usernamepassword
- PasswordSftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateSftpClient sftpLogin(String host, int port, String username, String password) throws IOException
host
- The target host name or addressport
- The target portusername
- Usernamepassword
- PasswordSftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateSftpClient sftpLogin(String host, String username, KeyPair identity) throws IOException
host
- The target host name or addressusername
- Usernameidentity
- The KeyPair
identitySftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateSftpClient sftpLogin(String host, int port, String username, KeyPair identity) throws IOException
host
- The target host name or addressport
- The target portusername
- Usernameidentity
- The KeyPair
identitySftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateSftpClient sftpLogin(InetAddress host, String username, String password) throws IOException
host
- The target host InetAddress
username
- Usernamepassword
- PasswordSftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateSftpClient sftpLogin(InetAddress host, int port, String username, String password) throws IOException
host
- The target host InetAddress
port
- The target portusername
- Usernamepassword
- PasswordSftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateSftpClient sftpLogin(InetAddress host, String username, KeyPair identity) throws IOException
host
- The target host InetAddress
username
- Usernameidentity
- The KeyPair
identitySftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateSftpClient sftpLogin(InetAddress host, int port, String username, KeyPair identity) throws IOException
host
- The target host InetAddress
port
- The target portusername
- Usernameidentity
- The KeyPair
identitySftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateSftpClient sftpLogin(SocketAddress target, String username, String password) throws IOException
target
- The target SocketAddress
username
- Usernamepassword
- PasswordSftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateSftpClient sftpLogin(SocketAddress target, String username, KeyPair identity) throws IOException
target
- The target SocketAddress
username
- Usernameidentity
- The KeyPair
identitySftpClient
- Note: closing the client also closes its
underlying sessionIOException
- If failed to login or authenticateCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.