| 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.22214.1022
Syntax public void SetFileModificationTime(
string remotePath,
DateTime newDateTime
)
Public Sub SetFileModificationTime (
remotePath As String,
newDateTime As DateTime
)
public:
void SetFileModificationTime(
String^ remotePath,
DateTime newDateTime
)
member SetFileModificationTime :
remotePath : string *
newDateTime : DateTime -> unit
Parameters
- remotePath
- Type: SystemString
The path of the remote file or folder. - newDateTime
- Type: SystemDateTime
New last modification date of the specified file or folder.
Remarks
On some servers this command works on folders.
See Also