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 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.
 SftpFile SftpSubsystemChannel.openDirectory(java.lang.String path)
          Open a directory.
 SftpFile SftpFile.getParent()
          Get the parent of the current 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.setAttributes(SftpFile file, SftpFileAttributes attrs)
          Sets the attributes of a file.
 java.lang.String SftpSubsystemChannel.getAbsolutePath(SftpFile file)
          Get the absolute path of a file.
 int SftpSubsystemChannel.listChildren(SftpFile file, java.util.Vector children)
          List the children of a directory.
 void SftpSubsystemChannel.closeFile(SftpFile file)
          Close a file or directory.
 SftpFileAttributes SftpSubsystemChannel.getAttributes(SftpFile file)
          Get the attributes of a file.
 

Constructors in com.maverick.sftp with parameters of type SftpFile
SftpFileInputStream(SftpFile file)
          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.ls()
           List the contents of the current remote working directory.
 SftpFile[] SftpClient.ls(java.lang.String path)
           List the contents remote directory.
 

Methods in com.sshtools.sftp with parameters of type SftpFile
 boolean DirectoryOperation.containsFile(SftpFile f)
          Determine whether the directory operation contains an SftpFile
 boolean SftpClient.isDirectoryOrLinkedDirectory(SftpFile file)
          Determine whether the file object is pointing to a symbolic link that is pointing to a directory.
static java.lang.String SftpClient.formatLongname(SftpFile file)
          Format a String with the details of the file.
 



Copyright © 2003 3SP LTD. All Rights Reserved.