FTPConnectionGetSize Method |
Get the size of a remote file.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxpublic virtual long GetSize(
string remoteFile
)
Public Overridable Function GetSize (
remoteFile As String
) As Long
public:
virtual long long GetSize(
String^ remoteFile
)
abstract GetSize :
remoteFile : string -> int64
override GetSize :
remoteFile : string -> int64
Parameters
- remoteFile
- Type: SystemString
Name or path of remote file in current working directory.
Return Value
Type:
Int64Size of file in bytes.
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