An NDoc Documented Class Library |

# FTPClient.SetModTime Method

Sets the modification time of a remote file.

public virtual void SetModTime(
string remoteFile,
DateTime modTime
);

#### Parameters

remoteFile
  Name of remote file.
modTime
  Desired modification-time to set in local time.

#### Implements

IFileTransferClient.SetModTime

#### 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

FTPClient Class | EnterpriseDT.Net.Ftp Namespace