Secure iNet Factory

Uses of Class
com.jscape.inet.sftp.SftpException

Packages that use SftpException
com.jscape.inet.sftp Contains client classes for communicating with a server using SFTP protocol (FTP over SSH) 
com.jscape.inet.sftp.requests   
com.jscape.inet.sftp.v2   
com.jscape.inet.sftp.v3   
com.jscape.inet.sftp.v4   
 

Uses of SftpException in com.jscape.inet.sftp
 

Subclasses of SftpException in com.jscape.inet.sftp
 class BadVersionException
          The SFTP incompatible client/server versions error.
 class RequestException
          The SFTP request error.
 class SftpAuthenticationException
          Exception thrown when trying to create or access a resource with insufficient permissions.
 class SftpFileNotFoundException
          Exception is thrown when attempting to retrieve a file from server that does not exist.
 class SftpPermissionDeniedException
          Exception thrown when trying to create or access a resource with insufficient permissions.
 

Methods in com.jscape.inet.sftp that throw SftpException
 void SftpClient.close(byte[] handle)
          Closes the file or directory handle.
 void Sftp.connect()
          Establishes secure connection with SSH server.
static SftpClient SftpClient.create(java.lang.Class clientClass, com.jscape.inet.util.connection.Connection connection, SftpConfiguration config)
          Creates a SFTP client instance.
 SftpClient SftpConfiguration.createClient(ConnectionParameters conParams, User user)
          Creates a new SFTP client instance for specified connection and user parameters.
 void SftpFile.createNewDirectory()
          Creates the directory named by this abstract pathname if and only if a file with this name does not yet exist.
 void SftpFile.createNewFile()
          Creates a new, empty file named by this abstract pathname if and only if a file with this name does not yet exist.
 void SftpFile.createNewLink(JFile target)
          Creates the symbolic link named by this abstract pathname if and only if a file with this name does not yet exist.
 void SftpFile.delete()
          Deletes the file or directory denoted by this abstract pathname.
 void Sftp.deleteDir(java.lang.String remoteDirectory)
          Deletes directory from SSH server.
 void Sftp.deleteDir(java.lang.String remoteDirectory, boolean recurse)
          Deletes directory from SSH server recursively.
 void Sftp.deleteFile(java.lang.String remoteFile)
          Deletes file from SSH server.
 void SftpFile.deleteRecursive()
          Recursively deletes the file or directory denoted by this abstract pathname.
 void Sftp.download(java.io.OutputStream out, java.lang.String remoteFile)
          Downloads file from SSH server and writes to specified OutputStream.
 void Sftp.download(java.io.OutputStream out, java.lang.String remoteFile, long off)
          Downloads file from SSH server and writes to specified OutputStream.
 java.io.File Sftp.download(java.lang.String remoteFile)
          Downloads file from SSH server.
 java.io.File Sftp.download(java.lang.String localFile, java.lang.String remoteFile)
          Downloads the file from SSH server.
 void Sftp.downloadDir(java.lang.String remoteDirectory)
          Downloads remote directory and contents recursively from SSH server.
 void Sftp.downloadDir(java.lang.String remoteDir, int retryLimit)
          Downloads remote directory and contents from SSH server.
 void Sftp.downloadDir(java.lang.String remoteDir, int retryLimit, int retryInterval)
          Downloads remote directory and contents from SSH server.
 void Sftp.downloadDir(java.lang.String remoteDir, int retryLimit, int retryInterval, int threadCount)
          Downloads remote directory and contents from SSH server.
 boolean SftpFile.exists()
          Tests whether the file denoted by this abstract pathname exists.
 SftpFileAttributes SftpClient.fstat(byte[] handle)
          Obtains the remote file attributes.
 long SftpFile.getAccessTime()
          Returns the file access time as seconds from Jan 1, 1970 in UTC.
 long SftpFile.getAccessTimeNsec()
          Returns the additional file access time nano-seconds.
 JAcl[] SftpFile.getAcl()
          Obtains the file ACL array similar to that defined in section 5.9 of NFS version 4 Protocol
 long SftpFile.getCreationTime()
          Returns the file creation time as seconds from Jan 1, 1970 in UTC.
 long SftpFile.getCreationTimeNsec()
          Returns the additional file creation time nano-seconds.
 java.util.Date SftpFile.getDate()
          Returns the file modification date as Data object.
 java.util.Enumeration Sftp.getDirListing()
          Gets directory listing from SSH server.
 java.util.Enumeration Sftp.getDirListing(java.lang.String regex)
          Gets directory listing from SSH server where file names matches the regular expression.
 java.lang.String Sftp.getDirListingAsString()
          Gets directory listing of files on SSH server.
 java.lang.String Sftp.getDirListingAsString(java.lang.String regex)
          Gets directory listing from SSH server where file names matches the regular expression.
 int Sftp.getFilePermissions(java.lang.String remoteFile)
          Gets remote file permissions in UNIX chmod format (644, 777).
 long SftpFile.getFilesize()
          Returns the size of the file denoted by this abstract pathname.
 long Sftp.getFilesize(java.lang.String remoteFile)
          Gets filesize of remote file from SSH server.
 java.util.Date Sftp.getFileTimestamp(java.lang.String remoteFile)
          Gets date/timestamp of remote file from SSH server.
 java.lang.String SftpFile.getGroup()
          Returns the owner group name for this abstract pathname as string.
 java.io.InputStream Sftp.getInputStream(java.lang.String filename, long offset)
          Gets an InputStream from SSH server for the purposes of downloading a file.
 JFile SftpFile.getLinkTarget()
          Returns the link target if the current file is symbolic link.
 long SftpFile.getModificationTime()
          Returns the file modification time as seconds from Jan 1, 1970 in UTC.
 long SftpFile.getModificationTimeNsec()
          Returns the additional file modification time nano-seconds.
 java.util.Enumeration Sftp.getNameListing()
          Gets directory listing of files on SSH server.
 java.util.Enumeration Sftp.getNameListing(java.lang.String regex)
          Gets the remote directory content names.
 java.io.OutputStream Sftp.getOutputStream(java.lang.String filename, long offset, boolean append)
          Gets an OutputStream from SSH server for the purposes of uploading a file.
 java.lang.String SftpFile.getOwner()
          Returns the owner name for this abstract pathname as string.
 java.lang.String SftpFile.getPermission()
          Returns POSIX string representation of the file permissions.
 JFilePermissions SftpFile.getPermissions()
          Returns the POSIX file permissions for this abstract pathname.
 JRandomAccessFile SftpFile.getRandomAccessFile(JFileOpenFlags openFlags, JAcl.Mask accessType)
          Provides access to the file contents returning a new JRandomAccessFile instance.
 java.lang.String Sftp.getRealPath(java.lang.String path)
          Gets real server path.
 java.util.Vector Sftp.getRemoteFileList(java.lang.String remoteDir)
          Gets a remote file list fron the current directory.
 java.util.Vector<JFile> Sftp.getRemoteFileObjectList(java.lang.String remoteDir)
          Get remote file object list.
 java.lang.String SftpFile.getTime()
          Returns the file modification time as String.
 JFileType SftpFile.getType()
          Returns the POSIX file type represented by this abstract pathname.
 boolean SftpFile.isAppendOnly()
          Tests whether the file named by this abstract pathname can only be opened for writing in append mode.
 boolean SftpFile.isArchive()
          Tests whether the file named by this abstract pathname should be included in backup / archive operations.
 boolean SftpFile.isCaseInsensitive()
          This attribute can only apply to directories.
 boolean SftpFile.isCompressed()
          Tests whether the file named by this abstract pathname is compressed.
 boolean SftpFile.isDirectory()
          Tests whether the file denoted by this abstract pathname is a directory.
 boolean Sftp.isDirectory(java.lang.String remotePath)
          Checks if remote pathname denotes a directory.
 boolean SftpFile.isEncrypted()
          Tests whether the file named by this abstract pathname is encrypted.
 boolean SftpFile.isHidden()
          Tests whether the file named by this abstract pathname is a hidden file.
 boolean SftpFile.isImmutable()
          Tests whether the file named by this abstract pathname cannot be deleted or renamed, no hard link can be created to this file and no data can be written to the file.
 boolean SftpFile.isReadOnly()
          Tests whether the file named by this abstract pathname is not writable.
 boolean SftpFile.isSparse()
          Tests whether the file named by this abstract pathname is sparse.
 boolean SftpFile.isSync()
          Tests whether the file named by this abstract pathname when is modified, the changes are written synchronously to the disk.
 boolean SftpFile.isSystem()
          Tests whether the file named by this abstract pathname is part of operating system.
 boolean Sftp.isValidPath(java.lang.String path)
          Checks if path is valid, i.e.
 JFile[] SftpFile.listFiles()
          Returns an array of abstract pathnames denoting the files in the directory denoted by this abstract pathname.
 JFile[] SftpFile.listFiles(JFileFilter filter)
          Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter.
 SftpFileAttributes SftpClient.lstat(java.lang.String path)
          Obtains the link target attributes.
 void Sftp.makeDir(java.lang.String newDirectory)
          Makes directory on SSH server.
 void Sftp.makeDirRecursive(java.lang.String newDirectory)
          Makes directory on SSH server, creating subdirectories if necessary.
 void Sftp.mdelete(java.lang.String regex)
          Deletes multiple files matching regular expression from SSH server's current directory.
 void Sftp.mdownload(java.util.Enumeration fileNames)
          Downloads specified files in current working remote directory from SSH server to local directory.
 void Sftp.mdownload(java.lang.String regex)
          Downloads multiple files matching filter from SSH server's current directory.
 void SftpClient.mkdir(java.lang.String path, SftpFileAttributes attrs)
          Creates a new directory.
 void Sftp.mupload(java.util.Enumeration fileNames)
          Uploads multiple files to SSH server.
 void Sftp.mupload(java.lang.String regex)
          Uploads multiple files matching filter to SSH server's current directory.
 byte[] SftpClient.open(java.lang.String path, JFileOpenFlags flags, JAcl.Mask accessType, SftpFileAttributes attrs)
          Opens or creates the file.
 byte[] SftpClient.opendir(java.lang.String path)
          Opens the remote directory for listing.
 byte[] SftpClient.read(byte[] handle, long offset, int len)
          Reads the file content.
 SftpName[] SftpClient.readdir(byte[] handle)
          Reads the directory content.
static SftpPacket SftpPacket.readFrom(java.io.InputStream in, java.lang.Class packetClass, java.lang.String charset)
          Reads the packet from the stream.
static SftpPacket SftpPacket.readFrom(SshReader reader, java.lang.Class packetClass)
          Reads the packet from the stream.
 SftpPacket PacketReader.readPacket(java.lang.String charset)
          Reads the packet from the stream.
 java.lang.String SftpClient.realPath(java.lang.String path)
          Obtains the real file path in the remote system.
 void SftpClient.remove(java.lang.String fileName)
          Deletes the file.
 void Sftp.renameFile(java.lang.String remoteFile, java.lang.String newFile)
          Renames remote file on SSH server.
 void SftpFile.renameTo(JFile dest)
          Renames the file denoted by this abstract pathname.
 java.io.File Sftp.resumeDownload(java.lang.String remoteFile, long off)
          Resumes download of file from SSH server.
 java.io.File Sftp.resumeDownload(java.lang.String localFile, java.lang.String remoteFile, long off)
          Resumes download of file from SSH server.
 void Sftp.resumeUpload(java.io.File localFile, long off)
          Resumes upload of file to SSH server.
 void Sftp.resumeUpload(java.io.File localFile, java.lang.String remoteFile, long off)
          Resumes upload of file to SSH server.
 void Sftp.resumeUpload(java.lang.String localFile, long off)
          Resumes upload of file to SSH server.
 void Sftp.resumeUpload(java.lang.String localFile, java.lang.String remoteFile, long off)
          Resumes upload of file to SSH server.
 void SftpClient.rmdir(java.lang.String path)
          Removes the directory.
 SftpPacket SftpClient.sendRequest(SftpPacket request)
          Sends the request to the server.
 void SftpFile.setAcl(JAcl[] acls)
          Setups the file ACL's.
 void SftpFile.setArchive(boolean archive)
          Setups archive attribute for this file.
 void Sftp.setDir(java.lang.String remoteDirectory)
          Sets current directory on SSH server.
 void Sftp.setDirUp()
          Sets current directory on SSH server to parent directory.
 void Sftp.setFilePermissions(java.lang.String remoteFile, int permissions)
          Sets file permissions.
 void SftpClient.setFstat(byte[] handle, SftpFileAttributes attrs)
          Setups the remote file attributes.
 void SftpFile.setGroup(java.lang.String gid)
          Setups the new file owner group ID.
 void SftpFile.setImmutable(boolean immutable)
          Setups file immutability.
 void SftpFile.setOwner(java.lang.String uid)
          Setups the new file user ID.
 void SftpFile.setPermissions(JFilePermissions permissions)
          Setups the new file permissions.
 void SftpClient.setStat(java.lang.String path, SftpFileAttributes attrs)
          Setups the remote file attributes.
 void SftpFile.setSync(boolean sync)
          Setups file changes synchronization mode.
 SftpFileAttributes SftpClient.stat(java.lang.String path)
          Obtains the remote file attributes.
 void Sftp.upload(byte[] data, java.lang.String remoteFile)
          Uploads file to SSH server where contents of file is not on disk but in memory.
 void Sftp.upload(byte[] data, java.lang.String remoteFile, boolean append)
          Uploads file to SSH server where contents of file is not on disk but in memory.
 void Sftp.upload(java.io.File localFile)
          Uploads file to SSH server.
 void Sftp.upload(java.io.File localFile, boolean append)
          Uploads file to SSH server.
 void Sftp.upload(java.io.File localFile, java.lang.String remoteFile)
          Uploads file to SSH server.
 void Sftp.upload(java.io.File localFile, java.lang.String remoteFile, boolean append)
          Uploads file to SSH server.
 void Sftp.upload(java.io.InputStream input, java.lang.String remoteFile)
          Uploads file to SSH server.
 void Sftp.upload(java.io.InputStream input, java.lang.String remoteFile, boolean append)
          Uploads file to SSH server.
 void Sftp.upload(java.lang.String localFile)
          Uploads file to SSH server.
 void Sftp.upload(java.lang.String localFile, boolean append)
          Uploads file to SSH server.
 void Sftp.upload(java.lang.String extension, java.io.File localFile)
          Uploads a file to SSH server.
 void Sftp.upload(java.lang.String localFile, java.lang.String remoteFile)
          Uploads file to SSH server.
 void Sftp.upload(java.lang.String localFile, java.lang.String remoteFile, boolean append)
          Uploads file to SSH server.
 void Sftp.uploadDir(java.io.File localDirectory)
          Uploads local directory and contents recursively to SSH server.
 void Sftp.uploadDir(java.io.File localDir, int retryLimit)
          Uploads local directory and contents.
 void Sftp.uploadDir(java.io.File localDirectory, int retryLimit, int threadCount)
          Uploads local directory and contents recursively to SSH server.
 void Sftp.uploadDir(java.io.File localDir, int retryLimit, int retryInterval, java.lang.String extension)
          Uploads local directory and contents.
 void Sftp.uploadDir(java.io.File localDir, int retryLimit, int retryInterval, java.lang.String extension, int threadCount)
          Uploads local directory and contents.
 void Sftp.uploadDir(java.io.File localDir, int retryLimit, java.lang.String extension)
          Uploads local directory and contents.
 void Sftp.uploadDir(java.io.File localDir, int retryLimit, java.lang.String extension, int threadCount)
          Uploads local directory and contents.
 void Sftp.uploadDir(java.io.File localDirectory, java.lang.String remoteDirName, java.lang.String extension)
          Uploads local directory and contents recursively to SSH server.
 void SftpClient.write(byte[] handle, long offset, byte[] data)
          Writes the data to the file.
 void PacketWriter.writePacket(SftpPacket packet, java.lang.String charset)
          Writes the packet to the stream.
 

Uses of SftpException in com.jscape.inet.sftp.requests
 

Methods in com.jscape.inet.sftp.requests that throw SftpException
 void AttributesRequest.execute(SftpClient client)
           
 void RealPathRequest.execute(SftpClient client)
           
 void Request.execute(SftpClient client)
          Executes request.
 void SetAttributesRequest.execute(SftpClient client)
           
 

Uses of SftpException in com.jscape.inet.sftp.v2
 

Methods in com.jscape.inet.sftp.v2 that throw SftpException
 void SftpClient2.rename(java.lang.String oldPath, java.lang.String newPath)
          Renames the file.
 

Uses of SftpException in com.jscape.inet.sftp.v3
 

Methods in com.jscape.inet.sftp.v3 that throw SftpException
 java.lang.String SftpClient3.readLink(java.lang.String path)
          Obtains the link target.
 void SftpClient3.symlink(java.lang.String linkPath, java.lang.String targetPath)
          Creates a new symbolic link.
 

Uses of SftpException in com.jscape.inet.sftp.v4
 

Methods in com.jscape.inet.sftp.v4 that throw SftpException
 SftpFileAttributes SftpClient4.fstat(byte[] handle)
          Obtains the remote file attributes.
 SftpFileAttributes SftpClient4.lstat(java.lang.String path)
          Obtains the link target attributes.
 void SftpClient4.mkdir(java.lang.String path, SftpFileAttributes attrs)
          Creates a new directory.
 byte[] SftpClient4.open(java.lang.String path, JFileOpenFlags flags, JAcl.Mask accessType, SftpFileAttributes attrs)
          Opens or creates the file.
 void SftpClient4.setFstat(byte[] handle, SftpFileAttributes attrs)
          Setups the remote file attributes.
 void SftpClient4.setStat(java.lang.String path, SftpFileAttributes attrs)
          Setups the remote file attributes.
 SftpFileAttributes SftpClient4.stat(java.lang.String path)
          Obtains the remote file attributes.
 


Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved