edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

FTPClientSize Method

Get the size of a remote file.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual long Size(
	string remoteFile
)

Parameters

remoteFile  String
Name or path of remote file in current directory.

Return Value

Int64
Size of file in bytes.

Implements

IFileTransferClientSize(String)

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