Package | Description |
---|---|
com.maverick.scp |
This package contains a Secure Copy (SCP) engine suitable for the
lightweight J2SSH Maverick API.
|
com.maverick.sftp |
The base implementation of the SFTP protocol enabling SFTP to be
operated over both SSH1 and SSH2 connections.
|
com.sshtools.scp |
This package contains the SSHTools SCP implementation converted to use the
J2SSH Maverick API's SCP engine.
|
com.sshtools.sftp |
This package contains the SSHTools SFTP client converted for use with the J2SSH
Maverick API.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
ScpClientIO.get(String remoteFile,
FileTransferProgress progress)
Gets a remote file as a
java.io.InputStream . |
void |
ScpClientIO.put(InputStream in,
long length,
String localFile,
String remoteFile,
boolean remoteIsDir,
FileTransferProgress progress) |
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. |
protected void |
ScpClientIO.ScpEngineIO.readCompleteFile(OutputStream out,
long size,
FileTransferProgress progress) |
protected InputStream |
ScpClientIO.ScpEngineIO.readStreamFromRemote(String remoteFile,
FileTransferProgress progress)
Open an InputStream.
|
protected void |
ScpClientIO.ScpEngineIO.writeCompleteFile(InputStream in,
long size,
FileTransferProgress progress) |
protected void |
ScpClientIO.ScpEngineIO.writeStreamToRemote(InputStream in,
long length,
String localName,
FileTransferProgress progress)
Write a stream as a file to the remote server.
|
Modifier and Type | Method and Description |
---|---|
void |
SftpSubsystemChannel.performOptimizedRead(byte[] handle,
long length,
int blocksize,
OutputStream out,
int outstandingRequests,
FileTransferProgress progress)
Performs an optimized read of a file through use of asynchronous
messages.
|
void |
SftpSubsystemChannel.performOptimizedRead(byte[] handle,
long length,
int blocksize,
OutputStream out,
int outstandingRequests,
FileTransferProgress progress,
long position)
Performs an optimized read of a file through use of asynchronous
messages.
|
void |
SftpSubsystemChannel.performOptimizedWrite(byte[] handle,
int blocksize,
int outstandingRequests,
InputStream in,
int buffersize,
FileTransferProgress progress)
Performs an optimized write of a file through asynchronous messaging and
through buffering the local file into memory.
|
void |
SftpSubsystemChannel.performOptimizedWrite(byte[] handle,
int blocksize,
int outstandingRequests,
InputStream in,
int buffersize,
FileTransferProgress progress,
long position)
Performs an optimized write of a file through asynchronous messaging and
through buffering the local file into memory.
|
void |
SftpSubsystemChannel.performSynchronousRead(byte[] handle,
int blocksize,
OutputStream out,
FileTransferProgress progress,
long position)
Perform a synchronous read of a file from the remote file system.
|
Modifier and Type | Method and Description |
---|---|
void |
ScpClient.get(String localFile,
String[] remoteFiles,
boolean recursive,
FileTransferProgress progress) |
void |
ScpClient.get(String localFile,
String remoteFile,
boolean recursive,
FileTransferProgress progress) |
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 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) |
Modifier and Type | Method and Description |
---|---|
void |
SftpClient.append(InputStream in,
String remote,
FileTransferProgress progress) |
void |
SftpClient.append(String local,
String remote,
FileTransferProgress progress) |
DirectoryOperation |
SftpClient.copyLocalDirectory(String localdir,
String remotedir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
Deprecated.
Use putLocalDirectory instead.
|
DirectoryOperation |
SftpClient.copyRemoteDirectory(String remotedir,
String localdir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
Deprecated.
Use getRemoteDirectory instead
|
SftpFileAttributes |
SftpClient.get(String path,
FileTransferProgress progress)
Download the remote file to the local computer.
|
SftpFileAttributes |
SftpClient.get(String path,
FileTransferProgress progress,
boolean resume)
Download the remote file to the local computer.
|
SftpFileAttributes |
SftpClient.get(String remote,
OutputStream local,
FileTransferProgress progress)
Download the remote file writing it to the specified
OutputStream . |
SftpFileAttributes |
SftpClient.get(String remote,
OutputStream local,
FileTransferProgress progress,
long position)
Download the remote file writing it to the specified
OutputStream . |
SftpFileAttributes |
SftpClient.get(String remote,
String local,
FileTransferProgress progress)
Download the remote file to the local computer.
|
SftpFileAttributes |
SftpClient.get(String remote,
String local,
FileTransferProgress progress,
boolean resume)
Download the remote file to the local computer.
|
SftpFile[] |
SftpClient.getFiles(String remote,
FileTransferProgress progress)
Download the remote files to the local computer.
|
SftpFile[] |
SftpClient.getFiles(String remote,
FileTransferProgress progress,
boolean resume)
Download the remote files to the local computer.
|
SftpFile[] |
SftpClient.getFiles(String remote,
String local,
FileTransferProgress progress,
boolean resume)
Download the remote file to the local computer.
|
DirectoryOperation |
SftpClient.getRemoteDirectory(String remotedir,
String localdir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
Copy the contents of a remote directory to a local directory
|
void |
SftpClient.put(InputStream in,
String remote,
FileTransferProgress progress)
Upload a file to the remote computer reading from the specified
InputStream . |
void |
SftpClient.put(InputStream in,
String remote,
FileTransferProgress progress,
long position) |
void |
SftpClient.put(String local,
FileTransferProgress progress)
Upload a file to the remote computer.
|
void |
SftpClient.put(String local,
FileTransferProgress progress,
boolean resume)
Upload a file to the remote computer.
|
void |
SftpClient.put(String local,
String remote,
FileTransferProgress progress)
Upload a file to the remote computer.
|
void |
SftpClient.put(String local,
String remote,
FileTransferProgress progress,
boolean resume)
Upload a file to the remote computer.
|
void |
SftpClient.putFiles(String local,
FileTransferProgress progress)
Upload files to the remote computer
|
void |
SftpClient.putFiles(String local,
FileTransferProgress progress,
boolean resume)
Upload files to the remote computer
|
void |
SftpClient.putFiles(String local,
String remote,
FileTransferProgress progress)
Upload files to the remote computer.
|
void |
SftpClient.putFiles(String local,
String remote,
FileTransferProgress progress,
boolean resume)
make local copies of some of the variables, then call putfilematches,
which calls "put" on each file that matches the regexp local.
|
DirectoryOperation |
SftpClient.putLocalDirectory(String localdir,
String remotedir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
Copy the contents of a local directory into a remote directory.
|
Copyright © 2024. All rights reserved.