Rebex FTP for .NET

Ftp.BeginGetFileDateTime Method 

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

public IAsyncResult BeginGetFileDateTime(
   string remotePath,
   AsyncCallback callback,
   object state
);

Parameters

remotePath
The path of the remote file. This cannot be a directory.
callback
An optional asynchronous callback to be called when the operation is complete.
state
A user-provided object that identifies this particular asynchronous operation.

Return Value

An IAsyncResult that references the asynchronous operation.

Remarks

Represents FTP MDTM command.

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

See Also

Ftp Class | Rebex.Net Namespace