Click or drag to resize

FtpSetFileModificationTime Method

Sets the modification date and time of the specified remote file. This method uses MFTM (draft-somers-ftp-mfxx-04) or MDTM (RFC 3659) commands, that may be NOT supported by the server.

Namespace: Limilabs.FTP.Client
Assembly: Ftp (in Ftp.dll) Version: 2.0.26109.1248
Syntax
public void SetFileModificationTime(
	string remotePath,
	DateTime newDateTime
)

Parameters

remotePath  String
The path of the remote file or folder.
newDateTime  DateTime
New last modification date of the specified file or folder.
Remarks
On some servers this command works on folders.
See Also