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
(com.sshtools.common.sftp.SftpFileAttributes attributes) Set the given attributes on the remote file represented by thisSftpFile
.Utility method to obtain anSftpFile
instance 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) 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 theSftpFileAttributes
from 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 TypeMethodDescriptionboolean
DirectoryOperation.containsFile
(SftpFile f) Determine whether the directory operation contains an SftpFilevoid
SftpClient.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 String
SftpClient.formatLongname
(SftpFile file) Format a String with the details of the file.static String
SftpClientTask.formatLongname
(SftpFile file) Format a String with the details of the file.SftpChannel.getAbsolutePath
(SftpFile file) Get the absolute path of a file.com.sshtools.common.sftp.SftpFileAttributes
SftpChannel.getAttributes
(SftpFile file) Deprecated, for removal: This API element is subject to removal in a future version.boolean
SftpClient.isDirectoryOrLinkedDirectory
(SftpFile file) Determine whether the file object is pointing to a symbolic link that is pointing to a directory.boolean
SftpClientTask.isDirectoryOrLinkedDirectory
(SftpFile file) Determine whether the file object is pointing to a symbolic link that is pointing to a directory.int
SftpChannel.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 FileVisitResult
SftpFileVisitor.postVisitDirectory
(SftpFile dir, IOException exc) default FileVisitResult
SftpFileVisitor.preVisitDirectory
(SftpFile dir, BasicFileAttributes attrs) void
SftpChannel.setAttributes
(SftpFile path, com.sshtools.common.sftp.SftpFileAttributes attrs) Deprecated, for removal: This API element is subject to removal in a future version.default FileVisitResult
SftpFileVisitor.visitFileFailed
(SftpFile file, IOException exc) Method parameters in com.sshtools.client.sftp with type arguments of type SftpFileModifier and TypeMethodDescriptionint
SftpChannel.listChildren
(SftpFile file, List<SftpFile> children) Deprecated, for removal: This API element is subject to removal in a future version.int
SftpHandle.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. -
Uses of SftpFile in com.sshtools.server.vsession.commands.sftp
Methods in com.sshtools.server.vsession.commands.sftp with parameters of type SftpFileModifier and TypeMethodDescriptionprotected void
Ls.printFile
(String[] args, VirtualConsole console, SftpFile file)