Click or drag to resize

SftpFileMoveTo Method

Moves a specified file to a new location on remote machine, providing the option to specify a new file name.

Namespace: Crestron.SimplSharp.Ssh.Sftp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public void MoveTo(
	string destFileName
)

Parameters

destFileName  String
The path to move the file to, which can specify a different file name.
Exceptions
ExceptionCondition
ArgumentNullExceptiondestFileName is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also