Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ftp.GetFileDateTime Method

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

GetFileDateTime(String)

Returns the modification date and time of the specified remote file.

Declaration
public DateTime GetFileDateTime(string remotePath)
Parameters
Type Name Description
String remotePath

The path of the remote file. This cannot be a directory.

Returns
Type Description
DateTime

A DateTime structure set to date and time that the specified file was modified.

Implements
IFtp.GetFileDateTime(String)
Remarks

Represents FTP MDTM command.

The MDTM command was not defined by the original RFC, but it has been widely supported for a number of years.

Some servers return times in their local time zones, some use GMT.

In This Article
  • GetFileDateTime(String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies