 | 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.ClientAssembly: Ftp (in Ftp.dll) Version: 2.0.26109.1248
Syntaxpublic 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 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