Click or drag to resize

FtpGetFileModificationTime Method

Returns the modification date and time of the specified remote file. This method uses MDTM command (RFC 3659), that may be NOT supported by the server. You can check the value of SupportsMDTM of Extensions property to check if this method is supported by the remote server.

Namespace:  Limilabs.FTP.Client
Assembly:  Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax
public DateTime GetFileModificationTime(
	string remotePath
)

Parameters

remotePath
Type: SystemString
The path of the remote file or folder.

Return Value

Type: DateTime
Modification date of the specified file or folder.
Remarks
On some servers this command works on folders.
See Also