SftpFile MoveTo Method SSH .NET Client Library Documentation
Moves a specified file to a new location on remote machine, providing the option to specify a new file name.

Namespace: Renci.SshNet.Sftp
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public void MoveTo(
	string destFileName
)

Parameters

destFileName
Type: OnlineSystem String
The path to move the file to, which can specify a different file name.
Exceptions

See Also