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

IFtp.GetFileLengthAsync Method

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

GetFileLengthAsync(String, Object)

Retrieves the size of the specified remote file.

Declaration
Task<long> GetFileLengthAsync(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<Int64>

The size of the specified file in bytes.

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