Package com.sshtools.client.sftp
Class SftpFile
java.lang.Object
com.sshtools.client.sftp.SftpFile
Represents an SFTP file object.
-
Method Details
-
attributes
Get the attributes for this file as they were when this file object was obtained. To get the latest attributes, call#refresh()to obtain a newSftpFileinstance.- Returns:
- attributes
-
toString
-
hashCode
public int hashCode() -
equals
-
getLongname
The longname supplied by the server. Note this will not be present if SFTP version is > 3.- Returns:
-
getFilename
Get the filename.- Returns:
- String
-
getAbsolutePath
Get the absolute path- Returns:
- String
-