Sets the modification time of a remote file.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public virtual void SetModTime( string remoteFile, DateTime modTime ) |
Visual Basic |
---|
Public Overridable Sub SetModTime ( _ remoteFile As String, _ modTime As DateTime _ ) |
Visual C++ |
---|
public: virtual void SetModTime( String^ remoteFile, DateTime modTime ) |
Parameters
- remoteFile
- Type: System..::..String
Name of remote file.
- modTime
- Type: System..::..DateTime
Desired modification-time to set in local time.
Implements
IFileTransferClient..::..SetModTime(String, DateTime)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.