Package | Description |
---|---|
com.maverick.sftp |
The base implementation of the SFTP protocol enabling SFTP to be
operated over both SSH1 and SSH2 connections.
|
com.sshtools.sftp |
This package contains the SSHTools SFTP client converted for use with the J2SSH
Maverick API.
|
Modifier and Type | Method and Description |
---|---|
SftpFileAttributes |
SftpFile.getAttributes()
Get the files attributes.
|
SftpFileAttributes |
SftpSubsystemChannel.getAttributes(SftpFile file)
Get the attributes of a file.
|
SftpFileAttributes |
SftpSubsystemChannel.getAttributes(String path)
Get the attributes of a file.
|
protected SftpFileAttributes |
SftpSubsystemChannel.getAttributes(String path,
int messageId,
String messageName) |
SftpFileAttributes |
SftpSubsystemChannel.getLinkAttributes(String path)
Get the attributes of a file.
|
Modifier and Type | Method and Description |
---|---|
void |
SftpSubsystemChannel.makeDirectory(String path,
SftpFileAttributes attrs)
Make a directory.
|
SftpFile |
SftpSubsystemChannel.openFile(String absolutePath,
int flags,
SftpFileAttributes attrs)
Open a file.
|
SftpFile |
SftpSubsystemChannel.openFileVersion5(String absolutePath,
int flags,
int accessFlags,
SftpFileAttributes attrs) |
void |
SftpSubsystemChannel.setAttributes(SftpFile file,
SftpFileAttributes attrs)
Sets the attributes of a file.
|
void |
SftpSubsystemChannel.setAttributes(String path,
SftpFileAttributes attrs)
Sets the attributes of a file.
|
Constructor and Description |
---|
SftpFile(String path,
SftpFileAttributes attrs)
Deprecated.
Use constructor that requires a flag for whether paths are processed or not (checked for / at the end and removed).
|
SftpFile(String path,
SftpFileAttributes attrs,
boolean processPath)
Creates a new SftpFile object.
|
Modifier and Type | Method and Description |
---|---|
SftpFileAttributes |
SftpClient.get(String path)
Download the remote file to the local computer
|
SftpFileAttributes |
SftpClient.get(String path,
boolean resume)
Download the remote file to the local computer
|
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)
Download the remote file into an OutputStream.
|
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,
OutputStream local,
long position)
Download the remote file into an OutputStream.
|
SftpFileAttributes |
SftpClient.get(String remote,
String local)
Download the remote file into the local file.
|
SftpFileAttributes |
SftpClient.get(String remote,
String local,
boolean resume)
Download the remote file into the local file.
|
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.
|
SftpFileAttributes |
SftpClient.stat(String path)
Returns the attributes of the file from the remote computer.
|
SftpFileAttributes |
SftpClient.statLink(String path)
Returns the attributes of the link from the remote computer.
|
Modifier and Type | Method and Description |
---|---|
static String |
SftpClient.formatLongname(SftpFileAttributes attrs,
String filename)
Format a String with the details of the file.
|
Copyright © 2024. All rights reserved.