Uses of Class
com.sshtools.client.sftp.SftpFile
Packages that use SftpFile
-
Uses of SftpFile in com.sshtools.client.sftp
Methods in com.sshtools.client.sftp that return SftpFileModifier and TypeMethodDescriptionUtility method to obtain anSftpFileinstance for a given path.SftpHandle.getFile()Get the file associated with this handle.SftpFile[]Download the remote files to the local computerSftpFile[]Download the remote files to the local computerSftpFile[]SftpClient.getFiles(String remote, FileTransferProgress progress) Download the remote files to the local computer.SftpFile[]SftpClient.getFiles(String remote, FileTransferProgress progress, boolean resume) Download the remote files to the local computer.SftpFile[]Download the remote files into the local file.SftpFile[]Download the remote files into the local file.SftpFile[]SftpClient.getFiles(String remote, String local, FileTransferProgress progress, boolean resume) Download the remote file to the local computer.SftpFile[]Deprecated, for removal: This API element is subject to removal in a future version.Download the remote files to the local computerSftpFile[]Deprecated, for removal: This API element is subject to removal in a future version.Download the remote files to the local computerSftpFile[]SftpClientTask.getFiles(String remote, FileTransferProgress progress) Deprecated, for removal: This API element is subject to removal in a future version.Download the remote files to the local computer.SftpFile[]SftpClientTask.getFiles(String remote, FileTransferProgress progress, boolean resume) Deprecated, for removal: This API element is subject to removal in a future version.Download the remote files to the local computer.SftpFile[]Deprecated, for removal: This API element is subject to removal in a future version.Download the remote files into the local file.SftpFile[]Deprecated, for removal: This API element is subject to removal in a future version.Download the remote files into the local file.SftpFile[]SftpClientTask.getFiles(String remote, String local, FileTransferProgress progress, boolean resume) Deprecated, for removal: This API element is subject to removal in a future version.Download the remote file to the local computer.SftpChannel.getSingleFileResponse(SftpMessage bar, String messageName, String path, com.sshtools.common.util.UnsignedInteger32 requestId) Get a single SftpFile object from a message returning SSH_FXP_NAME result.SftpFile[]SftpClient.ls()List the contents of the current remote working directory.SftpFile[]List the contents remote directory.SftpFile[]SftpFile[]SftpFile[]SftpClientTask.ls()Deprecated, for removal: This API element is subject to removal in a future version.List the contents of the current remote working directory.SftpFile[]Deprecated, for removal: This API element is subject to removal in a future version.List the contents remote directory.SftpFile[]GlobRegExpMatching.matchFilesWithPattern(SftpFile[] files, String pattern) SftpFile[]NoRegExpMatching.matchFilesWithPattern(SftpFile[] files, String fileNameRegExp) returns filesSftpFile[]RegExpMatching.matchFilesWithPattern(SftpFile[] files, String pattern) SftpFile[]RegularExpressionMatching.matchFilesWithPattern(SftpFile[] files, String fileNameRegExp) returns each of the SftpFiles that match the pattern fileNameRegExpSftpFile[]SftpClient.matchRemoteFiles(String remote) Called by getFileMatches() to do regular expression pattern matching on the files in 'remote''s parent directory.SftpFile[]SftpClientTask.matchRemoteFiles(String remote) Deprecated, for removal: This API element is subject to removal in a future version.Called by getFileMatches() to do regular expression pattern matching on the files in 'remote''s parent directory.Methods in com.sshtools.client.sftp that return types with arguments of type SftpFileModifier and TypeMethodDescriptionSftpClient.lsIterator()Return an iterator for the current working directory.SftpClient.lsIterator(String path) Return an iterator for the path provided.SftpClient.readDirectory(SftpHandle dir) SftpClientTask.readDirectory(SftpHandle dir) Deprecated, for removal: This API element is subject to removal in a future version.Methods in com.sshtools.client.sftp with parameters of type SftpFileModifier and TypeMethodDescriptionbooleanDirectoryOperation.containsFile(SftpFile f) Determine whether the directory operation contains an SftpFilestatic StringSftpClient.formatLongname(SftpFile file) Format a String with the details of the file.static StringSftpClientTask.formatLongname(SftpFile file) Deprecated, for removal: This API element is subject to removal in a future version.Format a String with the details of the file.SftpChannel.getAbsolutePath(SftpFile file) Get the absolute path of a file.SftpChannel.getAttributes(SftpFile file) Deprecated, for removal: This API element is subject to removal in a future version.byte[]SftpChannel.getHandleResponse(SftpMessage bar, SftpFile file, com.sshtools.common.util.UnsignedInteger32 requestId) voidSftpChannel.getOKRequestStatus(com.sshtools.common.util.UnsignedInteger32 requestId, SftpFile file) booleanSftpClient.isDirectoryOrLinkedDirectory(SftpFile file) Determine whether the file object is pointing to a symbolic link that is pointing to a directory.booleanSftpClientTask.isDirectoryOrLinkedDirectory(SftpFile file) Deprecated, for removal: This API element is subject to removal in a future version.Determine whether the file object is pointing to a symbolic link that is pointing to a directory.intSftpChannel.listChildren(SftpFile file, List<SftpFile> children) Deprecated, for removal: This API element is subject to removal in a future version.SftpFile[]GlobRegExpMatching.matchFilesWithPattern(SftpFile[] files, String pattern) SftpFile[]NoRegExpMatching.matchFilesWithPattern(SftpFile[] files, String fileNameRegExp) returns filesSftpFile[]RegExpMatching.matchFilesWithPattern(SftpFile[] files, String pattern) SftpFile[]RegularExpressionMatching.matchFilesWithPattern(SftpFile[] files, String fileNameRegExp) returns each of the SftpFiles that match the pattern fileNameRegExpdefault FileVisitResultSftpFileVisitor.postVisitDirectory(SftpFile dir, IOException exc) default FileVisitResultSftpFileVisitor.preVisitDirectory(SftpFile dir, BasicFileAttributes attrs) default FileVisitResultSftpFileVisitor.visitFileFailed(SftpFile file, IOException exc) Method parameters in com.sshtools.client.sftp with type arguments of type SftpFileModifier and TypeMethodDescriptionintSftpChannel.listChildren(SftpFile file, List<SftpFile> children) Deprecated, for removal: This API element is subject to removal in a future version.intSftpHandle.listChildren(List<SftpFile> children) List the children of a directory.SftpClient.visit(String path, FileVisitor<SftpFile> visitor)