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

FileTransferClient.GetFileDateTimeAsync Method

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

GetFileDateTimeAsync(String, Object)

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

Declaration
public Task<DateTime> GetFileDateTimeAsync(string remotePath, object state = null)
Parameters
Type Name Description
String remotePath

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

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<DateTime>

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

Implements
IFtp.GetFileDateTimeAsync(String, Object)
In This Article
  • GetFileDateTimeAsync(String, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies