Package | Description |
---|---|
com.sshtools.scp |
This package contains a Secure Copy (SCP) engine suitable for the
lightweight J2SSH Maverick API.
|
com.sshtools.sftp |
The base implementation of the SFTP protocol.
|
com.sshtools.ssh |
This package contains a set of general interface contracts for SSH communication.
|
com.sshtools.ssh2 |
This package contains an SSH2 implementation of the
com.sshtools.ssh interfaces.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
ScpClientIO.get(String remoteFile)
Gets a remote file as a
java.io.InputStream . |
InputStream |
ScpClientIO.get(String remoteFile,
FileTransferProgress progress)
Gets a remote file as a
java.io.InputStream . |
void |
ScpClient.get(String localDir,
String[] remoteFiles,
boolean recursive)
Downloads an array of remote files to the local computer.
|
void |
ScpClient.get(String localFile,
String[] remoteFiles,
boolean recursive,
FileTransferProgress progress) |
void |
ScpClient.get(String localFile,
String remoteFile,
boolean recursive)
Downloads a remote file onto the local computer.
|
void |
ScpClient.get(String localFile,
String remoteFile,
boolean recursive,
FileTransferProgress progress) |
void |
ScpClientIO.put(InputStream in,
long length,
String localFile,
String remoteFile)
Uploads a
java.io.InputStream to a remote server as a file. |
void |
ScpClientIO.put(InputStream in,
long length,
String localFile,
String remoteFile,
FileTransferProgress progress)
Uploads a
java.io.InputStream to a remote server as a file. |
void |
ScpClient.put(String[] localFiles,
String remoteFile,
boolean recursive)
Uploads an array of local files onto the remote server.
|
void |
ScpClient.put(String[] localFiles,
String remoteFile,
boolean recursive,
FileTransferProgress progress)
Uploads an array of local files onto the remote server.
|
void |
ScpClient.put(String localFile,
String remoteFile,
boolean recursive)
Uploads a local file onto the remote server.
|
void |
ScpClient.put(String localFileRegExp,
String remoteFile,
boolean recursive,
FileTransferProgress progress)
pattern matches the files in the local directory using "local" as a glob
Regular Expression.
|
void |
ScpClient.putFile(String localFile,
String remoteFile,
boolean recursive,
FileTransferProgress progress,
boolean remoteIsDir) |
Constructor and Description |
---|
SftpClient(SshClient ssh) |
SftpClient(SshClient ssh,
int Max_Version)
Constructs the SFTP client with a given channel event listener.
|
Modifier and Type | Method and Description |
---|---|
SshTunnel |
SshClient.openForwardingChannel(String hostname,
int port,
String listeningAddress,
int listeningPort,
String originatingHost,
int originatingPort,
SshTransport transport,
ChannelEventListener listener)
Open a TCPIP forwarding channel to the remote computer.
|
SshClient |
SshClient.openRemoteClient(String hostname,
int port,
String username)
Open up an SSH client from the remote machine to another remote server.
|
SshClient |
SshClient.openRemoteClient(String hostname,
int port,
String username,
SshConnector con)
Open up an SSH client from the remote machine to another remote server.
|
SshSession |
SshClient.openSessionChannel()
Open a session on the remote computer.
|
SshSession |
SshClient.openSessionChannel(ChannelEventListener listener)
Open a session on the remote computer.
|
Modifier and Type | Method and Description |
---|---|
Ssh2Channel |
ChannelFactory.createChannel(String channeltype,
byte[] requestdata)
Create an instance of an SSH channel.
|
void |
Ssh2Client.openChannel(Ssh2Channel channel,
byte[] requestdata)
Additional method to open a custom SSH2 channel.
|
void |
Ssh2Client.openChannel(SshAbstractChannel channel)
Additional method to open a custom SSH2 channel.
|
SshTunnel |
Ssh2Client.openForwardingChannel(String hostname,
int port,
String listeningAddress,
int listeningPort,
String originatingHost,
int originatingPort,
SshTransport transport,
ChannelEventListener listener) |
SshClient |
Ssh2Client.openRemoteClient(String hostname,
int port,
String username) |
SshClient |
Ssh2Client.openRemoteClient(String hostname,
int port,
String username,
SshConnector con) |
SshSession |
Ssh2Client.openSessionChannel() |
SshSession |
Ssh2Client.openSessionChannel(ChannelEventListener listener) |
SshSession |
Ssh2Client.openSessionChannel(ChannelEventListener listener,
long timeout) |
Ssh2Session |
Ssh2Client.openSessionChannel(int windowspace,
int packetsize,
ChannelEventListener listener)
Additional method to open a session with SSH2 specific features.
|
Ssh2Session |
Ssh2Client.openSessionChannel(int windowspace,
int packetsize,
ChannelEventListener listener,
long timeout) |
SshSession |
Ssh2Client.openSessionChannel(long timeout) |
Copyright © 2014. All rights reserved.