edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

FTPConnectionSetLastWriteTime Method

Set modification time for a remote file.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual void SetLastWriteTime(
	string remoteFile,
	DateTime lastWriteTime
)

Parameters

remoteFile  String
Name of remote file.
lastWriteTime  DateTime
Desired write-time (given in local timezone).

Remarks

Although times are passed to the server with second precision, some servers may ignore seconds and only provide minute precision. May not be supported by some FTP servers.

See Also