Méthode | Description | |
---|---|---|
Delete ( ) : void |
Permanently deletes a file on remote machine.
|
|
MoveTo ( string destFileName ) : void |
Moves a specified file to a new location on remote machine, providing the option to specify a new file name.
|
|
SetPermissions ( short mode ) : void |
Sets file permissions.
|
|
ToString ( ) : string |
Returns a System.String that represents this instance.
|
|
UpdateStatus ( ) : void |
Updates file status on the server.
|
Méthode | Description | |
---|---|---|
SftpFile ( ISftpSession sftpSession, string fullName, |
Initializes a new instance of the SftpFile class.
|
public MoveTo ( string destFileName ) : void | ||
destFileName | string | The path to move the file to, which can specify a different file name. |
Résultat | void |
public SetPermissions ( short mode ) : void | ||
mode | short | The mode. |
Résultat | void |