Package | Description |
---|---|
com.sshtools.client.sftp |
Modifier and Type | Method and Description |
---|---|
SftpFileAttributes |
SftpClientTask.get(String path)
Download the remote file to the local computer
|
SftpFileAttributes |
SftpClientTask.get(String path,
boolean resume)
Download the remote file to the local computer
|
SftpFileAttributes |
SftpClientTask.get(String path,
FileTransferProgress progress)
Download the remote file to the local computer.
|
SftpFileAttributes |
SftpClientTask.get(String path,
FileTransferProgress progress,
boolean resume)
Download the remote file to the local computer.
|
SftpFileAttributes |
SftpClientTask.get(String remote,
OutputStream local)
Download the remote file into an OutputStream.
|
SftpFileAttributes |
SftpClientTask.get(String remote,
OutputStream local,
FileTransferProgress progress)
Download the remote file writing it to the specified
OutputStream . |
SftpFileAttributes |
SftpClientTask.get(String remote,
OutputStream local,
FileTransferProgress progress,
long position)
Download the remote file writing it to the specified
OutputStream . |
SftpFileAttributes |
SftpClientTask.get(String remote,
OutputStream local,
long position)
Download the remote file into an OutputStream.
|
SftpFileAttributes |
SftpClientTask.get(String remote,
String local)
Download the remote file into the local file.
|
SftpFileAttributes |
SftpClientTask.get(String remote,
String local,
boolean resume)
Download the remote file into the local file.
|
SftpFileAttributes |
SftpClientTask.get(String remote,
String local,
FileTransferProgress progress)
Download the remote file to the local computer.
|
SftpFileAttributes |
SftpClientTask.get(String remote,
String local,
FileTransferProgress progress,
boolean resume)
Download the remote file to the local computer.
|
SftpFileAttributes |
SftpFile.getAttributes()
Get the files attributes.
|
SftpFileAttributes |
AbstractSftpTask.getAttributes(SftpFile file)
Get the attributes of a file.
|
SftpFileAttributes |
AbstractSftpTask.getAttributes(String path)
Get the attributes of a file.
|
protected SftpFileAttributes |
AbstractSftpTask.getAttributes(String path,
int messageId) |
SftpFileAttributes |
AbstractSftpTask.getLinkAttributes(String path)
Get the attributes of a file.
|
SftpFileAttributes |
SftpClientTask.stat(String path)
Returns the attributes of the file from the remote computer.
|
SftpFileAttributes |
SftpClientTask.statLink(String path)
Returns the attributes of the link from the remote computer.
|
Modifier and Type | Method and Description |
---|---|
static String |
SftpClientTask.formatLongname(SftpFileAttributes attrs,
String filename)
Format a String with the details of the file.
|
void |
AbstractSftpTask.makeDirectory(String path,
SftpFileAttributes attrs)
Make a directory.
|
SftpFile |
AbstractSftpTask.openFile(String absolutePath,
int flags,
SftpFileAttributes attrs)
Open a file.
|
SftpFile |
AbstractSftpTask.openFileVersion5(String absolutePath,
int flags,
int accessFlags,
SftpFileAttributes attrs) |
void |
AbstractSftpTask.setAttributes(SftpFile file,
SftpFileAttributes attrs)
Sets the attributes of a file.
|
void |
AbstractSftpTask.setAttributes(String path,
SftpFileAttributes attrs)
Sets the attributes of a file.
|
Constructor and Description |
---|
SftpFile(String path,
SftpFileAttributes attrs)
Creates a new SftpFile object.
|
Copyright © 2016. All rights reserved.