|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SftpStatusException | |
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. |
Uses of SftpStatusException in com.maverick.sftp |
Methods in com.maverick.sftp that throw SftpStatusException | |
java.lang.String |
SftpSubsystemChannel.getCanonicalNewline()
Returns the canonical newline convention in use when reading/writing text files. |
SftpMessage |
SftpSubsystemChannel.sendExtensionMessage(java.lang.String request,
byte[] requestData)
Send an extension message and return the response. |
void |
SftpSubsystemChannel.changePermissions(SftpFile file,
int permissions)
Change the permissions of a file. |
void |
SftpSubsystemChannel.changePermissions(java.lang.String filename,
int permissions)
Change the permissions of a file. |
void |
SftpSubsystemChannel.changePermissions(java.lang.String filename,
java.lang.String permissions)
Change the permissions of a file. |
void |
SftpSubsystemChannel.setAttributes(java.lang.String path,
SftpFileAttributes attrs)
Sets the attributes of a file. |
void |
SftpSubsystemChannel.setAttributes(SftpFile file,
SftpFileAttributes attrs)
Sets the attributes of a file. |
com.maverick.crypto.io.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. |
void |
SftpSubsystemChannel.writeFile(byte[] handle,
com.maverick.crypto.io.UnsignedInteger64 offset,
byte[] data,
int off,
int len)
Write a block of data to an open file. |
void |
SftpSubsystemChannel.performOptimizedWrite(byte[] handle,
int blocksize,
int outstandingRequests,
java.io.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,
java.io.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.performOptimizedRead(byte[] handle,
long length,
int blocksize,
java.io.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,
java.io.OutputStream out,
int outstandingRequests,
FileTransferProgress progress,
long position)
Performs an optimized read of a file through use of asynchronous messages. |
com.maverick.crypto.io.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. |
int |
SftpSubsystemChannel.readFile(byte[] handle,
com.maverick.crypto.io.UnsignedInteger64 offset,
byte[] output,
int off,
int len)
Read a block of data from an open file. |
SftpFile |
SftpSubsystemChannel.getFile(java.lang.String path)
Utility method to obtain an SftpFile instance for a given path. |
java.lang.String |
SftpSubsystemChannel.getAbsolutePath(SftpFile file)
Get the absolute path of a file. |
void |
SftpSubsystemChannel.createSymbolicLink(java.lang.String targetpath,
java.lang.String linkpath)
Create a symbolic link. |
java.lang.String |
SftpSubsystemChannel.getSymbolicLinkTarget(java.lang.String linkpath)
Get the target path of a symbolic link. |
java.lang.String |
SftpSubsystemChannel.getDefaultDirectory()
Gets the users default directory. |
java.lang.String |
SftpSubsystemChannel.getAbsolutePath(java.lang.String path)
Get the absolute path of a file. |
int |
SftpSubsystemChannel.listChildren(SftpFile file,
java.util.Vector children)
List the children of a directory. |
void |
SftpSubsystemChannel.recurseMakeDirectory(java.lang.String path)
Recurse through a hierarchy of directories creating them as necersary. |
SftpFile |
SftpSubsystemChannel.openFile(java.lang.String absolutePath,
int flags)
Open a file. |
SftpFile |
SftpSubsystemChannel.openFile(java.lang.String absolutePath,
int flags,
SftpFileAttributes attrs)
Open a file. |
SftpFile |
SftpSubsystemChannel.openDirectory(java.lang.String path)
Open a directory. |
void |
SftpSubsystemChannel.closeFile(SftpFile file)
Close a file or directory. |
void |
SftpSubsystemChannel.removeDirectory(java.lang.String path)
Remove an empty directory. |
void |
SftpSubsystemChannel.removeFile(java.lang.String filename)
Remove a file. |
void |
SftpSubsystemChannel.renameFile(java.lang.String oldpath,
java.lang.String newpath)
Rename an existing file. |
SftpFileAttributes |
SftpSubsystemChannel.getAttributes(java.lang.String path)
Get the attributes of a file. |
SftpFileAttributes |
SftpSubsystemChannel.getAttributes(SftpFile file)
Get the attributes of a file. |
void |
SftpSubsystemChannel.makeDirectory(java.lang.String path)
Make a directory. |
void |
SftpSubsystemChannel.makeDirectory(java.lang.String path,
SftpFileAttributes attrs)
Make a directory. |
void |
SftpSubsystemChannel.getOKRequestStatus(com.maverick.crypto.io.UnsignedInteger32 requestId)
Verify that an OK status has been returned for a request id. |
SftpFile |
SftpFile.getParent()
Get the parent of the current file. |
void |
SftpFile.delete()
Delete this file/directory from the remote server. |
void |
SftpFile.rename(java.lang.String newFilename)
Rename a file on the remote server. |
boolean |
SftpFile.canWrite()
Determine whether the user has write access to the file. |
boolean |
SftpFile.canRead()
Determine whether the user has read access to the file. |
SftpFileAttributes |
SftpFile.getAttributes()
Get the files attributes. |
void |
SftpFile.close()
Close the file. |
boolean |
SftpFile.isDirectory()
Determine whether the file object is pointing to a directory. |
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.isFifo()
Determine whether the file is pointing to a pipe. |
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.isSocket()
Determine whether the file is pointing to a socket. |
Constructors in com.maverick.sftp that throw SftpStatusException | |
SftpFileInputStream(SftpFile file)
Creates a new SftpFileInputStream object. |
|
SftpFileOutputStream(SftpFile file)
Creates a new SftpFileOutputStream object. |
Uses of SftpStatusException in com.sshtools.sftp |
Methods in com.sshtools.sftp that throw SftpStatusException | |
long |
DirectoryOperation.getTransferSize()
Get the total number of bytes that this operation will transfer |
void |
SftpClient.cd(java.lang.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
|
java.lang.String |
SftpClient.getDefaultDirectory()
Get the default directory (or HOME directory) |
void |
SftpClient.cdup()
Change the working directory to the parent directory |
void |
SftpClient.mkdir(java.lang.String dir)
Creates a new directory on the remote server. |
void |
SftpClient.mkdirs(java.lang.String dir)
Create a directory or set of directories. |
boolean |
SftpClient.isDirectoryOrLinkedDirectory(SftpFile file)
Determine whether the file object is pointing to a symbolic link that is pointing to a directory. |
SftpFile[] |
SftpClient.ls()
List the contents of the current remote working directory. |
SftpFile[] |
SftpClient.ls(java.lang.String path)
List the contents remote directory. |
void |
SftpClient.lcd(java.lang.String path)
Changes the local working directory. |
SftpFileAttributes |
SftpClient.get(java.lang.String path,
FileTransferProgress progress)
Download the remote file to the local computer. |
SftpFileAttributes |
SftpClient.get(java.lang.String path,
FileTransferProgress progress,
boolean resume)
Download the remote file to the local computer. |
SftpFileAttributes |
SftpClient.get(java.lang.String path,
boolean resume)
Download the remote file to the local computer |
SftpFileAttributes |
SftpClient.get(java.lang.String path)
Download the remote file to the local computer |
SftpFileAttributes |
SftpClient.get(java.lang.String remote,
java.lang.String local,
FileTransferProgress progress)
Download the remote file to the local computer. |
SftpFileAttributes |
SftpClient.get(java.lang.String remote,
java.lang.String local,
FileTransferProgress progress,
boolean resume)
Download the remote file to the local computer. |
SftpFileAttributes |
SftpClient.get(java.lang.String remote,
java.lang.String local,
boolean resume)
Download the remote file into the local file. |
SftpFileAttributes |
SftpClient.get(java.lang.String remote,
java.lang.String local)
Download the remote file into the local file. |
SftpFileAttributes |
SftpClient.get(java.lang.String remote,
java.io.OutputStream local,
FileTransferProgress progress)
Download the remote file writing it to the specified OutputStream . |
SftpFileAttributes |
SftpClient.get(java.lang.String remote,
java.io.OutputStream local,
FileTransferProgress progress,
long position)
Download the remote file writing it to the specified OutputStream . |
java.io.InputStream |
SftpClient.getInputStream(java.lang.String remotefile)
Create an InputStream for reading a remote file. |
SftpFileAttributes |
SftpClient.get(java.lang.String remote,
java.io.OutputStream local,
long position)
Download the remote file into an OutputStream. |
SftpFileAttributes |
SftpClient.get(java.lang.String remote,
java.io.OutputStream local)
Download the remote file into an OutputStream. |
void |
SftpClient.put(java.lang.String local,
FileTransferProgress progress,
boolean resume)
Upload a file to the remote computer. |
void |
SftpClient.put(java.lang.String local,
FileTransferProgress progress)
Upload a file to the remote computer. |
void |
SftpClient.put(java.lang.String local)
Upload a file to the remote computer |
void |
SftpClient.put(java.lang.String local,
boolean resume)
Upload a file to the remote computer |
void |
SftpClient.put(java.lang.String local,
java.lang.String remote,
FileTransferProgress progress)
Upload a file to the remote computer. |
void |
SftpClient.put(java.lang.String local,
java.lang.String remote,
FileTransferProgress progress,
boolean resume)
Upload a file to the remote computer. |
void |
SftpClient.put(java.lang.String local,
java.lang.String remote,
boolean resume)
Upload a file to the remote computer |
void |
SftpClient.put(java.lang.String local,
java.lang.String remote)
Upload a file to the remote computer |
void |
SftpClient.put(java.io.InputStream in,
java.lang.String remote,
FileTransferProgress progress)
Upload a file to the remote computer reading from the specified
InputStream . |
void |
SftpClient.put(java.io.InputStream in,
java.lang.String remote,
FileTransferProgress progress,
long position)
|
java.io.OutputStream |
SftpClient.getOutputStream(java.lang.String remotefile)
Create an OutputStream for writing to a remote file. |
void |
SftpClient.put(java.io.InputStream in,
java.lang.String remote,
long position)
Upload the contents of an InputStream to the remote computer. |
void |
SftpClient.put(java.io.InputStream in,
java.lang.String remote)
Upload the contents of an InputStream to the remote computer. |
void |
SftpClient.chown(java.lang.String uid,
java.lang.String path)
Sets the user ID to owner for the file or directory. |
void |
SftpClient.chgrp(java.lang.String gid,
java.lang.String path)
Sets the group ID for the file or directory. |
void |
SftpClient.chmod(int permissions,
java.lang.String path)
Changes the access permissions or modes of the specified file or directory. |
void |
SftpClient.rename(java.lang.String oldpath,
java.lang.String newpath)
Rename a file on the remote computer. |
void |
SftpClient.rm(java.lang.String path)
Remove a file or directory from the remote computer. |
void |
SftpClient.rm(java.lang.String path,
boolean force,
boolean recurse)
Remove a file or directory on the remote computer with options to force deletion of existig files and recursion. |
void |
SftpClient.symlink(java.lang.String path,
java.lang.String link)
Create a symbolic link on the remote computer. |
SftpFileAttributes |
SftpClient.stat(java.lang.String path)
Returns the attributes of the file from the remote computer. |
java.lang.String |
SftpClient.getAbsolutePath(java.lang.String path)
Get the absolute path for a file. |
DirectoryOperation |
SftpClient.copyLocalDirectory(java.lang.String localdir,
java.lang.String remotedir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
Copy the contents of a local directory into a remote remote directory. |
static java.lang.String |
SftpClient.formatLongname(SftpFile file)
Format a String with the details of the file. |
DirectoryOperation |
SftpClient.copyRemoteDirectory(java.lang.String remotedir,
java.lang.String localdir,
boolean recurse,
boolean sync,
boolean commit,
FileTransferProgress progress)
Copy the contents of a remote directory to a local directory |
Constructors in com.sshtools.sftp that throw SftpStatusException | |
SftpClient(SshClient ssh)
Constructs the SFTP client with a given channel event listener. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |