Get the size of a remote file.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public virtual long Size(
	string remoteFile
)
Visual Basic
Public Overridable Function Size ( _
	remoteFile As String _
) As Long
Visual C++
public:
virtual long long Size(
	String^ remoteFile
)

Parameters

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

Return Value

Size of file in bytes.

Implements

IFileTransferClient..::..Size(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