SftpFile MethodsSSH .NET Client Library Documentation
The SftpFile type exposes the following members.
Methods

  NameDescription
Public methodDelete
Permanently deletes a file on remote machine.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodMoveTo
Moves a specified file to a new location on remote machine, providing the option to specify a new file name.
Public methodSetPermissions
Sets file permissions.
Public methodToString
Returns a OnlineString that represents this instance.
(Overrides OnlineObject ToString .)
Public methodUpdateStatus
Updates file status on the server.
Back to Top
See Also