An NDoc Documented Class Library |

# FTPClient.Size Method

Get the size of a remote file.

public virtual long Size(
string remoteFile
);

#### Parameters

remoteFile
  Name or path of remote file in current directory.

#### Return Value

Size of file in bytes.

#### Implements

IFileTransferClient.Size

#### Remarks

This is not a standard FTP command, it is defined in "Extensions to FTP", a draft RFC (draft-ietf-ftpext-mlst-16.txt).

#### See Also

FTPClient Class | EnterpriseDT.Net.Ftp Namespace