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 TypeMethodDescriptionSftpFile.attributes(SftpFileAttributes attributes) Set the given attributes on the remote file represented by thisSftpFile.Utility 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[]Download the remote files to the local computerSftpFile[]Download the remote files to the local computerSftpFile[]SftpClientTask.getFiles(String remote, FileTransferProgress progress) Download the remote files to the local computer.SftpFile[]SftpClientTask.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[]SftpClientTask.getFiles(String remote, String local, FileTransferProgress progress, boolean resume) Download the remote file to the local computer.SftpFile.getParent()Get the parent of the current file.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()List the contents of the current remote working directory.SftpFile[]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) Called by getFileMatches() to do regular expression pattern matching on the files in 'remote''s parent directory.SftpFile.refresh()Refresh theSftpFileAttributesfrom the the remote file.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) Methods in com.sshtools.client.sftp with parameters of type SftpFileModifier and TypeMethodDescriptionbooleanDirectoryOperation.containsFile(SftpFile f) Determine whether the directory operation contains an SftpFilevoidSftpClient.copyRemoteData(SftpFile sourceFile, com.sshtools.common.util.UnsignedInteger64 fromOffset, com.sshtools.common.util.UnsignedInteger64 length, SftpFile destinationFile, com.sshtools.common.util.UnsignedInteger64 toOffset) Deprecated, for removal: This API element is subject to removal in a future version.static StringSftpClient.formatLongname(SftpFile file) Format a String with the details of the file.static StringSftpClientTask.formatLongname(SftpFile file) 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) 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) 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) voidSftpChannel.setAttributes(SftpFile path, SftpFileAttributes attrs) Deprecated, for removal: This API element is subject to removal in a future version.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) Constructors in com.sshtools.client.sftp with parameters of type SftpFileModifierConstructorDescriptionSftpFileInputStream(SftpFile file) Deprecated, for removal: This API element is subject to removal in a future version.SftpFileInputStream(SftpFile file, long position) Deprecated, for removal: This API element is subject to removal in a future version.SftpFileOutputStream(SftpFile file) Deprecated, for removal: This API element is subject to removal in a future version.