|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SftpStatusException | |
|---|---|
| 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. |
| com.sshtools.sftp.fallback | |
| com.sshtools.sftp.subsystem | |
| Uses of SftpStatusException in com.sshtools.scp |
|---|
| Methods in com.sshtools.scp that throw SftpStatusException | |
|---|---|
void |
ScpClient.put(String localFile,
String remoteFile,
boolean recursive)
Uploads a local file onto the remote server. |
| Uses of SftpStatusException in com.sshtools.sftp |
|---|
| Methods in com.sshtools.sftp that throw SftpStatusException | |
|---|---|
boolean |
SftpFile.canRead()
Determine whether the user has read access to the file. |
boolean |
SftpFile.canWrite()
Determine whether the user has write access to the file. |
void |
AbstractSftpClient.cd(String dir)
|
void |
SftpClient.cd(String dir)
Changes the working directory on the remote server, or the home directory if null or any empty string is provided as the directory
path |
void |
AbstractSftpClient.cdup()
|
void |
SftpClient.cdup()
Change the working directory to the parent directory |
protected abstract void |
AbstractSftpClient.changeGroup(String gid,
String path)
|
protected abstract void |
AbstractSftpClient.changeOwner(String uid,
String path)
|
protected abstract void |
AbstractSftpClient.changePermissions(String file,
int permissions)
|
void |
AbstractSftpClient.chgrp(String gid,
String path)
|
void |
SftpClient.chgrp(String gid,
String path)
Sets the group ID for the file or directory. |
void |
AbstractSftpClient.chmod(int permissions,
String path)
|
void |
SftpClient.chmod(int permissions,
String path)
Changes the access permissions or modes of the specified file or directory. |
void |
AbstractSftpClient.chown(String uid,
String path)
|
void |
SftpClient.chown(String uid,
String path)
Sets the user ID to owner for the file or directory. |
DirectoryOperation |
AbstractSftpClient.copyLocalDirectory(String localdir,
String remotedir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
|
DirectoryOperation |
SftpClient.copyLocalDirectory(String localdir,
String remotedir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
Copy the contents of a local directory into a remote remote directory. |
DirectoryOperation |
AbstractSftpClient.copyRemoteDirectory(String remotedir,
String localdir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
|
DirectoryOperation |
SftpClient.copyRemoteDirectory(String remotedir,
String localdir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
Copy the contents of a remote directory to a local directory |
protected abstract void |
AbstractSftpClient.createSymbolicLink(String path,
String link)
|
void |
SftpFile.delete()
Delete this file/directory from the remote server. |
static String |
AbstractSftpClient.formatLongname(SftpFile file)
Format a String with the details of the file. |
SftpFileAttributes |
AbstractSftpClient.get(String path)
|
SftpFileAttributes |
SftpClient.get(String path)
Download the remote file to the local computer |
SftpFileAttributes |
AbstractSftpClient.get(String path,
boolean resume)
|
SftpFileAttributes |
SftpClient.get(String path,
boolean resume)
Download the remote file to the local computer |
SftpFileAttributes |
AbstractSftpClient.get(String path,
FileTransferProgress progress)
|
SftpFileAttributes |
SftpClient.get(String path,
FileTransferProgress progress)
Download the remote file to the local computer. |
SftpFileAttributes |
AbstractSftpClient.get(String path,
FileTransferProgress progress,
boolean resume)
|
SftpFileAttributes |
SftpClient.get(String path,
FileTransferProgress progress,
boolean resume)
Download the remote file to the local computer. |
SftpFileAttributes |
AbstractSftpClient.get(String remote,
OutputStream local)
|
SftpFileAttributes |
SftpClient.get(String remote,
OutputStream local)
Download the remote file into an OutputStream. |
SftpFileAttributes |
AbstractSftpClient.get(String remote,
OutputStream local,
FileTransferProgress progress)
|
SftpFileAttributes |
SftpClient.get(String remote,
OutputStream local,
FileTransferProgress progress)
Download the remote file writing it to the specified OutputStream. |
SftpFileAttributes |
AbstractSftpClient.get(String remote,
OutputStream out,
FileTransferProgress progress,
long position)
|
SftpFileAttributes |
SftpClient.get(String remote,
OutputStream local,
FileTransferProgress progress,
long position)
Download the remote file writing it to the specified OutputStream. |
SftpFileAttributes |
AbstractSftpClient.get(String remote,
OutputStream local,
long position)
|
SftpFileAttributes |
SftpClient.get(String remote,
OutputStream local,
long position)
Download the remote file into an OutputStream. |
SftpFileAttributes |
AbstractSftpClient.get(String remote,
String local)
|
SftpFileAttributes |
SftpClient.get(String remote,
String local)
Download the remote file into the local file. |
SftpFileAttributes |
AbstractSftpClient.get(String remote,
String local,
boolean resume)
|
SftpFileAttributes |
SftpClient.get(String remote,
String local,
boolean resume)
Download the remote file into the local file. |
SftpFileAttributes |
AbstractSftpClient.get(String remote,
String local,
FileTransferProgress progress)
|
SftpFileAttributes |
SftpClient.get(String remote,
String local,
FileTransferProgress progress)
Download the remote file to the local computer. |
SftpFileAttributes |
AbstractSftpClient.get(String remote,
String local,
FileTransferProgress progress,
boolean resume)
|
SftpFileAttributes |
SftpClient.get(String remote,
String local,
FileTransferProgress progress,
boolean resume)
Download the remote file to the local computer. |
String |
AbstractSftpClient.getAbsolutePath(String path)
|
String |
SftpClient.getAbsolutePath(String path)
Get the absolute path for a file. |
SftpFileAttributes |
SftpFile.getAttributes()
Get the files attributes. |
protected abstract SftpFileAttributes |
AbstractSftpClient.getAttributes(String file)
|
protected abstract byte[] |
AbstractSftpClient.getCanonicalNewline()
|
String |
SftpClient.getDefaultDirectory()
Get the default directory (or HOME directory) |
SftpFile |
AbstractSftpClient.getFile(String path)
|
SftpFile |
SftpClient.getFile(String path)
|
SftpFile[] |
AbstractSftpClient.getFiles(String remote)
|
SftpFile[] |
SftpClient.getFiles(String remote)
Download the remote files to the local computer |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
boolean resume)
|
SftpFile[] |
SftpClient.getFiles(String remote,
boolean resume)
Download the remote files to the local computer |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
FileTransferProgress progress)
|
SftpFile[] |
SftpClient.getFiles(String remote,
FileTransferProgress progress)
Download the remote files to the local computer. |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
FileTransferProgress progress,
boolean resume)
|
SftpFile[] |
SftpClient.getFiles(String remote,
FileTransferProgress progress,
boolean resume)
Download the remote files to the local computer. |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
OutputStream local)
|
SftpFile[] |
SftpClient.getFiles(String remote,
OutputStream local)
Download the remote files into an OutputStream. |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
OutputStream local,
FileTransferProgress progress)
|
SftpFile[] |
SftpClient.getFiles(String remote,
OutputStream local,
FileTransferProgress progress)
Download the remote files writing it to the specified OutputStream. |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
OutputStream local,
FileTransferProgress progress,
long position)
|
SftpFile[] |
SftpClient.getFiles(String remote,
OutputStream local,
FileTransferProgress progress,
long position)
make local copies of some of the variables, then call getfilematches, which calls get on each file that matches the regexp remote. |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
OutputStream local,
long position)
|
SftpFile[] |
SftpClient.getFiles(String remote,
OutputStream local,
long position)
Download the remote files into an OutputStream. |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
String local)
|
SftpFile[] |
SftpClient.getFiles(String remote,
String local)
Download the remote files into the local file. |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
String local,
boolean resume)
|
SftpFile[] |
SftpClient.getFiles(String remote,
String local,
boolean resume)
Download the remote files into the local file. |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
String local,
FileTransferProgress progress)
|
SftpFile[] |
SftpClient.getFiles(String remote,
String local,
FileTransferProgress progress)
Download the remote file to the local computer. |
SftpFile[] |
AbstractSftpClient.getFiles(String remote,
String local,
FileTransferProgress progress,
boolean resume)
|
SftpFile[] |
SftpClient.getFiles(String remote,
String local,
FileTransferProgress progress,
boolean resume)
make local copies of some of the variables, then call getfilematches, which calls get on each file that matches the regexp remote. |
InputStream |
AbstractSftpClient.getInputStream(String remotefile)
|
InputStream |
SftpClient.getInputStream(String remotefile)
Create an InputStream for reading a remote file. |
InputStream |
SftpClient.getInputStream(String remotefile,
long position)
Create an InputStream for reading a remote file. |
OutputStream |
SftpClient.getOutputStream(String remotefile)
Create an OutputStream for writing to a remote file. |
SftpFile |
SftpFile.getParent()
Get the parent of the current file. |
protected abstract String |
AbstractSftpClient.getRealPath(String path)
|
long |
DirectoryOperation.getTransferSize()
Get the total number of bytes that this operation will transfer |
boolean |
SftpFile.isBlock()
Determine whether the file is pointing to a block special file. |
boolean |
SftpFile.isCharacter()
Determine whether the file is pointing to a character mode device. |
boolean |
SftpFile.isDirectory()
Determine whether the file object is pointing to a directory. |
boolean |
AbstractSftpClient.isDirectoryOrLinkedDirectory(SftpFile file)
|
boolean |
SftpClient.isDirectoryOrLinkedDirectory(SftpFile file)
Determine whether the file object is pointing to a symbolic link that is pointing to a directory. |
boolean |
SftpFile.isFifo()
Determine whether the file is pointing to a pipe. |
boolean |
SftpFile.isFile()
Determine whether the file object is pointing to a file. |
boolean |
SftpFile.isLink()
Determine whether the file object is a symbolic link. |
boolean |
SftpFile.isSocket()
Determine whether the file is pointing to a socket. |
void |
AbstractSftpClient.lcd(String path)
|
void |
SftpClient.lcd(String path)
Changes the local working directory. |
SftpFile[] |
AbstractSftpClient.ls()
|
SftpFile[] |
SftpClient.ls()
List the contents of the current remote working directory. |
SftpFile[] |
SftpClient.ls(String path)
List the contents remote directory. |
protected abstract void |
AbstractSftpClient.makeDirectory(String path,
SftpFileAttributes attrs)
|
String[] |
NoRegExpMatching.matchFileNamesWithPattern(File[] files,
String fileNameRegExp)
opens and returns the requested filename string |
String[] |
RegularExpressionMatching.matchFileNamesWithPattern(File[] files,
String fileNameRegExp)
returns each of the files that match the pattern fileNameRegExp |
SftpFile[] |
NoRegExpMatching.matchFilesWithPattern(SftpFile[] files,
String fileNameRegExp)
returns files |
SftpFile[] |
RegularExpressionMatching.matchFilesWithPattern(SftpFile[] files,
String fileNameRegExp)
returns each of the SftpFiles that match the pattern fileNameRegExp |
SftpFile[] |
GlobRegExpMatching.matchFilesWithPattern(SftpFile[] files,
String fileNameRegExp)
compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match. |
SftpFile[] |
Perl5RegExpMatching.matchFilesWithPattern(SftpFile[] files,
String fileNameRegExp)
compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match. |
void |
AbstractSftpClient.mkdir(String dir)
|
void |
SftpClient.mkdir(String dir)
Creates a new directory on the remote server. |
void |
AbstractSftpClient.mkdirs(String dir)
|
void |
SftpClient.mkdirs(String dir)
Create a directory or set of directories. |
protected abstract void |
AbstractSftpClient.onInit(int maxVersion)
|
protected abstract SftpFileAttributes |
AbstractSftpClient.performDownload(String remote,
OutputStream out,
FileTransferProgress progress,
long position)
|
protected abstract void |
AbstractSftpClient.performUpload(InputStream in,
String remotePath,
FileTransferProgress progress,
long position)
|
void |
AbstractSftpClient.put(InputStream in,
String remote)
|
void |
SftpClient.put(InputStream in,
String remote)
Upload the contents of an InputStream to the remote computer. |
void |
AbstractSftpClient.put(InputStream in,
String remote,
FileTransferProgress progress)
|
void |
SftpClient.put(InputStream in,
String remote,
FileTransferProgress progress)
Upload a file to the remote computer reading from the specified
InputStream
. |
void |
AbstractSftpClient.put(InputStream in,
String remote,
FileTransferProgress progress,
long position)
|
void |
SftpClient.put(InputStream in,
String remote,
FileTransferProgress progress,
long position)
|
void |
AbstractSftpClient.put(InputStream in,
String remote,
long position)
|
void |
SftpClient.put(InputStream in,
String remote,
long position)
Upload the contents of an InputStream to the remote computer. |
void |
AbstractSftpClient.put(String local)
|
void |
SftpClient.put(String local)
Upload a file to the remote computer |
void |
AbstractSftpClient.put(String local,
boolean resume)
|
void |
SftpClient.put(String local,
boolean resume)
Upload a file to the remote computer |
void |
AbstractSftpClient.put(String local,
FileTransferProgress progress)
|
void |
SftpClient.put(String local,
FileTransferProgress progress)
Upload a file to the remote computer. |
void |
AbstractSftpClient.put(String local,
FileTransferProgress progress,
boolean resume)
|
void |
SftpClient.put(String local,
FileTransferProgress progress,
boolean resume)
Upload a file to the remote computer. |
void |
AbstractSftpClient.put(String local,
String remote)
|
void |
SftpClient.put(String local,
String remote)
Upload a file to the remote computer |
void |
AbstractSftpClient.put(String local,
String remote,
boolean resume)
|
void |
SftpClient.put(String local,
String remote,
boolean resume)
Upload a file to the remote computer |
void |
AbstractSftpClient.put(String local,
String remote,
FileTransferProgress progress)
|
void |
SftpClient.put(String local,
String remote,
FileTransferProgress progress)
Upload a file to the remote computer. |
void |
AbstractSftpClient.put(String local,
String remote,
FileTransferProgress progress,
boolean resume)
|
void |
SftpClient.put(String local,
String remote,
FileTransferProgress progress,
boolean resume)
Upload a file to the remote computer. |
void |
AbstractSftpClient.putFiles(InputStream in,
String remote)
|
void |
SftpClient.putFiles(InputStream in,
String remote)
Upload the contents of an InputStream to the remote computer. |
void |
AbstractSftpClient.putFiles(InputStream in,
String remote,
FileTransferProgress progress)
|
void |
SftpClient.putFiles(InputStream in,
String remote,
FileTransferProgress progress)
Upload files to the remote computer reading from the specified
InputStream
. |
void |
AbstractSftpClient.putFiles(InputStream in,
String remote,
FileTransferProgress progress,
long position)
|
void |
SftpClient.putFiles(InputStream in,
String remote,
FileTransferProgress progress,
long position)
|
void |
AbstractSftpClient.putFiles(InputStream in,
String remote,
long position)
|
void |
SftpClient.putFiles(InputStream in,
String remote,
long position)
Upload the contents of an InputStream to the remote computer. |
void |
AbstractSftpClient.putFiles(String local)
|
void |
SftpClient.putFiles(String local)
Upload the contents of an InputStream to the remote computer. |
void |
AbstractSftpClient.putFiles(String local,
boolean resume)
|
void |
SftpClient.putFiles(String local,
boolean resume)
Upload files to the remote computer |
void |
AbstractSftpClient.putFiles(String local,
FileTransferProgress progress)
|
void |
SftpClient.putFiles(String local,
FileTransferProgress progress)
Upload files to the remote computer |
void |
AbstractSftpClient.putFiles(String local,
FileTransferProgress progress,
boolean resume)
|
void |
SftpClient.putFiles(String local,
FileTransferProgress progress,
boolean resume)
Upload files to the remote computer |
void |
AbstractSftpClient.putFiles(String local,
String remote)
|
void |
SftpClient.putFiles(String local,
String remote)
Upload files to the remote computer |
void |
AbstractSftpClient.putFiles(String local,
String remote,
boolean resume)
|
void |
SftpClient.putFiles(String local,
String remote,
boolean resume)
Upload files to the remote computer |
void |
AbstractSftpClient.putFiles(String local,
String remote,
FileTransferProgress progress)
|
void |
SftpClient.putFiles(String local,
String remote,
FileTransferProgress progress)
Upload files to the remote computer. |
void |
AbstractSftpClient.putFiles(String local,
String remote,
FileTransferProgress progress,
boolean resume)
|
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. |
protected abstract void |
AbstractSftpClient.removeDirectory(String filename)
|
protected abstract void |
AbstractSftpClient.removeFile(String filename)
|
void |
AbstractSftpClient.rename(String oldpath,
String newpath)
|
void |
SftpClient.rename(String oldpath,
String newpath)
Rename a file on the remote computer. |
protected abstract void |
AbstractSftpClient.renameFile(String from,
String to)
|
protected String |
AbstractSftpClient.resolveRemotePath(String path)
returns the canonical form of path, if path doesn't start with one of '/';cwd;a customRoot; or is a WindowsRoot then prepend cwd to path |
void |
AbstractSftpClient.rm(String path)
|
void |
SftpClient.rm(String path)
Remove a file or directory from the remote computer. |
void |
AbstractSftpClient.rm(String path,
boolean force,
boolean recurse)
|
void |
SftpClient.rm(String path,
boolean force,
boolean recurse)
Remove a file or directory on the remote computer with options to force deletion of existing files and recursion. |
void |
SftpClient.setAttributes(String path,
SftpFileAttributes attrs)
Updates a file's attributes. |
SftpFileAttributes |
AbstractSftpClient.stat(String path)
|
SftpFileAttributes |
SftpClient.stat(String path)
Returns the attributes of the file from the remote computer. |
void |
AbstractSftpClient.symlink(String path,
String link)
|
void |
SftpClient.symlink(String path,
String link)
Create a symbolic link on the remote computer. |
protected void |
AbstractSftpClient.verifyConnection()
|
| Constructors in com.sshtools.sftp that throw SftpStatusException | |
|---|---|
AbstractSftpClient(SshClient ssh,
int maxVersion)
|
|
| Uses of SftpStatusException in com.sshtools.sftp.fallback |
|---|
| Methods in com.sshtools.sftp.fallback that throw SftpStatusException | |
|---|---|
protected void |
ScpFallbackImpl.changeGroup(String gid,
String path)
|
protected void |
ScpFallbackImpl.changeOwner(String uid,
String path)
|
protected void |
ScpFallbackImpl.changePermissions(String file,
int permissions)
|
protected void |
ScpFallbackImpl.createSymbolicLink(String path,
String link)
|
protected SftpFileAttributes |
ScpFallbackImpl.getAttributes(String file)
|
protected byte[] |
ScpFallbackImpl.getCanonicalNewline()
|
String |
ScpFallbackImpl.getDefaultDirectory()
|
InputStream |
ScpFallbackImpl.getInputStream(String remotefile,
long position)
|
OutputStream |
ScpFallbackImpl.getOutputStream(String remotefile)
|
protected String |
ScpFallbackImpl.getRealPath(String path)
|
SftpFile[] |
ScpFallbackImpl.ls(String path)
|
protected void |
ScpFallbackImpl.makeDirectory(String dir,
SftpFileAttributes attrs)
|
protected void |
ScpFallbackImpl.onInit(int maxVersion)
|
protected SftpFileAttributes |
ScpFallbackImpl.performDownload(String remote,
OutputStream local,
FileTransferProgress progress,
long position)
|
protected void |
ScpFallbackImpl.performUpload(InputStream in,
String remotePath,
FileTransferProgress progress,
long position)
|
protected void |
ScpFallbackImpl.removeDirectory(String filename)
|
protected void |
ScpFallbackImpl.removeFile(String filename)
|
protected void |
ScpFallbackImpl.renameFile(String from,
String to)
|
void |
ScpFallbackImpl.setAttributes(String file,
SftpFileAttributes attrs)
|
| Constructors in com.sshtools.sftp.fallback that throw SftpStatusException | |
|---|---|
ScpFallbackImpl(SshClient ssh,
int maxVersion)
|
|
| Uses of SftpStatusException in com.sshtools.sftp.subsystem |
|---|
| Methods in com.sshtools.sftp.subsystem that throw SftpStatusException | |
|---|---|
protected void |
SftpClientImpl.changeGroup(String gid,
String path)
|
protected void |
SftpClientImpl.changeOwner(String uid,
String path)
|
void |
SftpSubsystemChannel.changePermissions(SftpFile file,
int permissions)
Change the permissions of a file. |
void |
SftpSubsystemChannel.changePermissions(String filename,
int permissions)
Change the permissions of a file. |
protected void |
SftpClientImpl.changePermissions(String filename,
int permissions)
|
void |
SftpSubsystemChannel.changePermissions(String filename,
String permissions)
Change the permissions of a file. |
void |
SftpSubsystemChannel.closeFile(SftpFile file)
Close a file or directory. |
void |
SftpSubsystemChannel.createSymbolicLink(String targetpath,
String linkpath)
Create a symbolic link. |
protected void |
SftpClientImpl.createSymbolicLink(String path,
String link)
|
String |
SftpSubsystemChannel.getAbsolutePath(SftpFile file)
Get the absolute path of a file. |
String |
SftpSubsystemChannel.getAbsolutePath(String path)
Get the absolute path of a file. |
SftpFileAttributes |
SftpSubsystemChannel.getAttributes(SftpFile file)
Get the attributes of a file. |
SftpFileAttributes |
SftpSubsystemChannel.getAttributes(String path)
Get the attributes of a file. |
protected SftpFileAttributes |
SftpClientImpl.getAttributes(String file)
|
String |
SftpSubsystemChannel.getCanonicalNewline()
Returns the canonical newline convention in use when reading/writing text files. |
protected byte[] |
SftpClientImpl.getCanonicalNewline()
|
String |
SftpSubsystemChannel.getDefaultDirectory()
Gets the users default directory. |
String |
SftpClientImpl.getDefaultDirectory()
|
SftpFile |
SftpSubsystemChannel.getFile(String path)
Utility method to obtain an SftpFile instance for a given path. |
SftpFile |
SftpClientImpl.getFile(String path)
|
InputStream |
SftpClientImpl.getInputStream(String remotefile,
long position)
|
void |
SftpSubsystemChannel.getOKRequestStatus(com.maverick.util.UnsignedInteger32 requestId)
Verify that an OK status has been returned for a request id. |
OutputStream |
SftpClientImpl.getOutputStream(String remotefile)
|
protected String |
SftpClientImpl.getRealPath(String path)
|
String |
SftpSubsystemChannel.getSymbolicLinkTarget(String linkpath)
Get the target path of a symbolic link. |
int |
SftpSubsystemChannel.listChildren(SftpFile file,
Vector children)
List the children of a directory. |
SftpFile[] |
SftpClientImpl.ls(String path)
|
void |
SftpSubsystemChannel.makeDirectory(String path)
Make a directory. |
void |
SftpSubsystemChannel.makeDirectory(String path,
SftpFileAttributes attrs)
Make a directory. |
protected void |
SftpClientImpl.makeDirectory(String dir,
SftpFileAttributes attrs)
|
protected void |
SftpClientImpl.onInit(int maxVersion)
|
SftpFile |
SftpSubsystemChannel.openDirectory(String path)
Open a directory. |
SftpFile |
SftpSubsystemChannel.openFile(String absolutePath,
int flags)
Open a file. |
SftpFile |
SftpSubsystemChannel.openFile(String absolutePath,
int flags,
SftpFileAttributes attrs)
Open a file. |
protected SftpFileAttributes |
SftpClientImpl.performDownload(String remote,
OutputStream local,
FileTransferProgress progress,
long position)
|
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. |
protected void |
SftpClientImpl.performUpload(InputStream in,
String path,
FileTransferProgress progress,
long position)
|
com.maverick.util.UnsignedInteger32 |
SftpSubsystemChannel.postReadRequest(byte[] handle,
long offset,
int len)
Post a read request to the server and return the request id; this is used to optimize file downloads. |
com.maverick.util.UnsignedInteger32 |
SftpSubsystemChannel.postWriteRequest(byte[] handle,
long position,
byte[] data,
int off,
int len)
Send a write request for an open file but do not wait for the response from the server. |
int |
SftpSubsystemChannel.readFile(byte[] handle,
com.maverick.util.UnsignedInteger64 offset,
byte[] output,
int off,
int len)
Read a block of data from an open file. |
void |
SftpSubsystemChannel.recurseMakeDirectory(String path)
Recurse through a hierarchy of directories creating them as necessary. |
void |
SftpSubsystemChannel.removeDirectory(String path)
Remove an empty directory. |
protected void |
SftpClientImpl.removeDirectory(String filename)
|
void |
SftpSubsystemChannel.removeFile(String filename)
Remove a file. |
protected void |
SftpClientImpl.removeFile(String filename)
|
void |
SftpSubsystemChannel.renameFile(String oldpath,
String newpath)
Rename an existing file. |
protected void |
SftpClientImpl.renameFile(String from,
String to)
|
SftpMessage |
SftpSubsystemChannel.sendExtensionMessage(String request,
byte[] requestData)
Send an extension message and return the response. |
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. |
void |
SftpClientImpl.setAttributes(String file,
SftpFileAttributes attrs)
|
void |
SftpSubsystemChannel.writeFile(byte[] handle,
com.maverick.util.UnsignedInteger64 offset,
byte[] data,
int off,
int len)
Write a block of data to an open file. |
| Constructors in com.sshtools.sftp.subsystem that throw SftpStatusException | |
|---|---|
SftpClientImpl(SshClient ssh,
int maxVersion)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||