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

- Packages that use SftpException
  Package | Description
  --- | ---
  com.jscape.inet.sftp |

- - ### Uses of SftpException in com.jscape.inet.sftp

    Subclasses of SftpException in com.jscape.inet.sftp
    Modifier and Type | Class and Description
    --- | ---
    `class` | `com.jscape.inet.sftp.RequestException` The SFTP request error.
    `class` | `SftpAuthenticationException` Exception thrown when trying to create or access a resource with insufficient permissions.
    `class` | `SftpConnectionException`
    `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.
    `class` | `SftpTimeoutException`
    `class` | `SftpUnknownHostException`

    Methods in com.jscape.inet.sftp that return SftpException
    Modifier and Type | Method and Description
    --- | ---
    `static SftpException` | SftpException.`wrap(java.lang.Throwable e)`

    Methods in com.jscape.inet.sftp that throw SftpException
    Modifier and Type | Method and Description
    --- | ---
    `Sftp.RecursiveFileListOperation` | Sftp.RecursiveFileListOperation.`applyTo(Sftp transfer)`
    `Sftp.RecursiveDeleteOperation` | Sftp.RecursiveDeleteOperation.`applyTo(Sftp transfer)`
    `Sftp.RemoteDirectory` | Sftp.RemoteDirectory.`applyTo(Sftp sftp)`
    `Sftp.RemoteDirectory` | Sftp.RemoteDirectory.CurrentDirectory.`applyTo(Sftp transfer)`
    `Sftp.RemoteDirectory` | Sftp.RemoteDirectory.PathDirectory.`applyTo(Sftp transfer)`
    `Sftp.RemoteDirectory.PathElementsDirectory` | Sftp.RemoteDirectory.PathElementsDirectory.`applyTo(Sftp transfer)`
    `Sftp.DownloadFileOperation` | Sftp.DownloadFileOperation.`applyTo(Sftp transfer)`
    `Sftp.DownloadDirectoryOperation` | Sftp.DownloadDirectoryOperation.`applyTo(Sftp transfer)`
    `Sftp.UploadFileOperation` | Sftp.UploadFileOperation.`applyTo(Sftp transfer)`
    `Sftp.UploadDirectoryOperation` | Sftp.UploadDirectoryOperation.`applyTo(Sftp transfer)`
    `static com.jscape.util.collections.Tree<Sftp.DirectoryService.Directory<com.jscape.inet.sftp.SftpFile>>` | Sftp.DirectoryService.`asTree(java.lang.String directoryPath, Sftp transfer)`
    `Sftp` | Sftp.`connect()` Establishes secure connection with SSH server.
    `void` | Sftp.`createSymbolicLink(java.lang.String remoteLinkFile, java.lang.String remoteTargetFile)` Creates a symbolc link.
    `void` | Sftp.`deleteDir(java.lang.String remoteDirectory)` Deletes directory from SSH server.
    `void` | Sftp.`deleteDir(java.lang.String remoteDirectory, boolean recursive)` Deletes directory from SSH server recursively.
    `void` | Sftp.`deleteFile(java.lang.String remoteFile)` Deletes file from SSH server.
    `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 remoteFileOffset)` 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 remoteDirectory, int retryAttempts)` Downloads remote directory and contents from SSH server.
    `void` | Sftp.`downloadDir(java.lang.String remoteDirectory, int retryAttempts, int retryInterval)` Downloads remote directory and contents from SSH server.
    `void` | Sftp.`downloadDir(java.lang.String remoteDirectory, int retryAttempts, int retryInterval, int threadCount)` Downloads remote directory and contents from SSH server.
    `boolean` | Sftp.`exists(java.lang.String remotePath)` Checks if path is valid, i.e.
    `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.util.Enumeration` | Sftp.`getDirListing(java.lang.String remoteDirectory, java.lang.String regex)`
    `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.
    `java.util.Date` | Sftp.`getFileAccessTimestamp(java.lang.String remoteFile)` Gets access date/timestamp of remote file from SSH server.
    `java.util.Date` | Sftp.`getFileCreationTimestamp(java.lang.String remoteFile)` Gets creation date/timestamp of remote file from SSH server.
    `int` | Sftp.`getFilePermissions(java.lang.String remoteFile)` Gets remote file permissions in UNIX chmod format (644, 777).
    `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 modification date/timestamp of remote file from SSH server.
    `java.io.InputStream` | Sftp.`getInputStream(java.lang.String remoteFile, long remoteFileOffset)`
    `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 remoteFile, long remoteFileOffset, boolean append)`
    `java.lang.String` | Sftp.`getRealPath(java.lang.String remotePath)` Gets real server path.
    `int` | Sftp.`getRecursiveDirectoryFileCount(java.lang.String remoteDirectory)` Get size of all files rescursively in a given remote directory.
    `long` | Sftp.`getRecursiveDirectorySize(java.lang.String remoteDirectory)` Get size of all files recursively in a given remote directory.
    `java.util.Vector` | Sftp.`getRemoteFileList(java.lang.String remoteDirectory)` Gets a remote file list fron the current directory.
    `java.lang.String` | Sftp.`getSymbolicLinkTargetPath(java.lang.String remoteFile)` Returns remote symbolic link target path.
    `com.jscape.util.file.UnixFileType` | Sftp.`getType(java.lang.String remotePath)` Returns Unix file type of the specified remote path.
    `boolean` | Sftp.`isDirectory(java.lang.String remoteDirectory)` Checks if remote pathname denotes a directory.
    `void` | Sftp.`makeDir(java.lang.String remoteDirectory)` Makes directory on SSH server.
    `void` | Sftp.`makeDirRecursive(java.lang.String remoteDirectory)` Makes directory on SSH server, creating subdirectories if necessary.
    `java.io.File` | Sftp.`makeLocalDir(java.lang.String localDirectory)` Creates local directory.
    `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 remoteFiles)` 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` | Sftp.`mupload(java.util.Enumeration localFiles)` Uploads multiple files to SSH server.
    `void` | Sftp.`mupload(java.lang.String regex)` Uploads multiple files matching filter to SSH server's current directory.
    `void` | Sftp.`renameFile(java.lang.String sourceRemoteFile, java.lang.String destinationRemoteFile)` Renames remote file on SSH server.
    `void` | Sftp.`resumeDownload(java.io.OutputStream out, java.lang.String remoteFile, long remoteFileOffset)`
    `java.io.File` | Sftp.`resumeDownload(java.lang.String remoteFile, long remoteFileOffset)` Resumes download of file from SSH server.
    `java.io.File` | Sftp.`resumeDownload(java.lang.String localFile, java.lang.String remoteFile, long remoteFileOffset)` Resumes download of file from SSH server.
    `void` | Sftp.`resumeUpload(java.io.File localFile, long localFileOffset)` Resumes upload of file to SSH server.
    `void` | Sftp.`resumeUpload(java.io.File localFile, java.lang.String remoteFile, long localFileOffset)` Resumes upload of file to SSH server.
    `void` | Sftp.`resumeUpload(java.io.InputStream in, long length, java.lang.String remoteFile, long remoteFileOffset)`
    `void` | Sftp.`resumeUpload(java.lang.String localFile, long localFileOffset)` Resumes upload of file to SSH server.
    `void` | Sftp.`resumeUpload(java.lang.String localFile, java.lang.String remoteFile, long localFileOffset)` Resumes upload of file to SSH server.
    `boolean` | Sftp.`sameChecksum(java.io.File localFile, java.lang.String remoteFile)`
    `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.`setFileAccessTimestamp(java.lang.String remoteFile, java.util.Date timestamp)` Sets file access time.
    `void` | Sftp.`setFileCreationTimestamp(java.lang.String remoteFile, java.util.Date timestamp)` Sets file creation time.
    `void` | Sftp.`setFilePermissions(java.lang.String remoteFile, int permissions)` Sets file permissions.
    `void` | Sftp.`setFileTimestamp(java.lang.String remoteFile, java.util.Date timestamp)` Sets file modification time.
    `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 shouldAppend)` 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 shouldAppend)` 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 in, java.lang.String remoteFile, boolean shouldAppend)` 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 shouldAppend)` Uploads file to SSH server.
    `void` | Sftp.`upload(java.lang.String tempFileExtension, 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 shouldAppend)` 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 localDirectory, int retryAttempts)` Uploads local directory and contents.
    `void` | Sftp.`uploadDir(java.io.File localDirectory, int retryAttempts, int threadCount)` Uploads local directory and contents recursively to SSH server.
    `void` | Sftp.`uploadDir(java.io.File localDirectory, int retryAttempts, int retryInterval, java.lang.String tempFileExtension)` Uploads local directory and contents.
    `void` | Sftp.`uploadDir(java.io.File localDirectory, int retryAttempts, int retryInterval, java.lang.String tempFileExtension, int threadCount)` Uploads local directory and contents.
    `void` | Sftp.`uploadDir(java.io.File localDirectory, int retryAttempts, java.lang.String tempFileExtension)` Uploads local directory and contents.
    `void` | Sftp.`uploadDir(java.io.File localDirectory, int retryAttempts, java.lang.String tempFileExtension, int threadCount)` Uploads local directory and contents.

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