Uses of Class
com.maverick.sftp.SftpFile

Packages that use SftpFile
com.maverick.sftp The base implementation of the SFTP protocol enabling SFTP to be operated over both SSH1 and SSH2 connections.
 
com.sshtools.sftp This package contains the SSHTools SFTP client converted for use with the J2SSH Maverick API. 
 

Uses of SftpFile in com.maverick.sftp
 

Methods in com.maverick.sftp that return SftpFile
 SftpFile SftpSubsystemChannel.getFile(java.lang.String path)
          Utility method to obtain an SftpFile instance for a given path.
 SftpFile SftpFile.getParent()
          Get the parent of the current file.
 SftpFile SftpSubsystemChannel.openDirectory(java.lang.String path)
          Open a directory.
 SftpFile SftpSubsystemChannel.openFile(java.lang.String absolutePath, int flags)
          Open a file.
 SftpFile SftpSubsystemChannel.openFile(java.lang.String absolutePath, int flags, SftpFileAttributes attrs)
          Open a file.
 

Methods in com.maverick.sftp with parameters of type SftpFile
 void SftpSubsystemChannel.changePermissions(SftpFile file, int permissions)
          Change the permissions of a file.
 void SftpSubsystemChannel.closeFile(SftpFile file)
          Close a file or directory.
 java.lang.String SftpSubsystemChannel.getAbsolutePath(SftpFile file)
          Get the absolute path of a file.
 SftpFileAttributes SftpSubsystemChannel.getAttributes(SftpFile file)
          Get the attributes of a file.
 int SftpSubsystemChannel.listChildren(SftpFile file, java.util.Vector children)
          List the children of a directory.
 void SftpSubsystemChannel.setAttributes(SftpFile file, SftpFileAttributes attrs)
          Sets the attributes of a file.
 

Constructors in com.maverick.sftp with parameters of type SftpFile
SftpFileInputStream(SftpFile file)
           
SftpFileInputStream(SftpFile file, long position)
          Creates a new SftpFileInputStream object.
SftpFileOutputStream(SftpFile file)
          Creates a new SftpFileOutputStream object.
 

Uses of SftpFile in com.sshtools.sftp
 

Methods in com.sshtools.sftp that return SftpFile
 SftpFile[] SftpClient.getFiles(java.lang.String remote)
           Download the remote files to the local computer
 SftpFile[] SftpClient.getFiles(java.lang.String remote, boolean resume)
           Download the remote files to the local computer
 SftpFile[] SftpClient.getFiles(java.lang.String remote, FileTransferProgress progress)
           Download the remote files to the local computer.
 SftpFile[] SftpClient.getFiles(java.lang.String remote, FileTransferProgress progress, boolean resume)
           Download the remote files to the local computer.
 SftpFile[] SftpClient.getFiles(java.lang.String remote, java.lang.String local)
          Download the remote files into the local file.
 SftpFile[] SftpClient.getFiles(java.lang.String remote, java.lang.String local, boolean resume)
          Download the remote files into the local file.
 SftpFile[] SftpClient.getFiles(java.lang.String remote, java.lang.String local, FileTransferProgress progress, boolean resume)
           Download the remote file to the local computer.
 SftpFile[] SftpClient.ls()
           List the contents of the current remote working directory.
 SftpFile[] SftpClient.ls(java.lang.String path)
           List the contents remote directory.
 SftpFile[] RegularExpressionMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          returns each of the SftpFiles that match the pattern fileNameRegExp
 SftpFile[] Perl5RegExpMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match.
 SftpFile[] GlobRegExpMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match.
 SftpFile[] NoRegExpMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          returns files
 SftpFile SftpClient.openFile(java.lang.String fileName)
           
 

Methods in com.sshtools.sftp with parameters of type SftpFile
 boolean DirectoryOperation.containsFile(SftpFile f)
          Determine whether the directory operation contains an SftpFile
static java.lang.String SftpClient.formatLongname(SftpFile file)
          Format a String with the details of the file.
 boolean SftpClient.isDirectoryOrLinkedDirectory(SftpFile file)
          Determine whether the file object is pointing to a symbolic link that is pointing to a directory.
 SftpFile[] RegularExpressionMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          returns each of the SftpFiles that match the pattern fileNameRegExp
 SftpFile[] Perl5RegExpMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match.
 SftpFile[] GlobRegExpMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          compiles fileNameRegExp into a regular expression and pattern matches on each file's name, and returns those that match.
 SftpFile[] NoRegExpMatching.matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp)
          returns files
 



Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.