Size of remote file (see remarks)
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
Syntax
C# |
---|
[ObsoleteAttribute("Use LocalFileSize and RemoteFileSize")] public long FileSize { get; } |
Visual Basic |
---|
<ObsoleteAttribute("Use LocalFileSize and RemoteFileSize")> _ Public ReadOnly Property FileSize As Long Get |
Visual C++ |
---|
[ObsoleteAttribute(L"Use LocalFileSize and RemoteFileSize")] public: property long long FileSize { long long get (); } |
Remarks
This property has been supercede by LocalFileSize and RemoteFileSize, to reflect the fact that the local and remote file-sizes may be different when transferring in ASCII mode.
Some servers do not support the command required to get the size of a particular file. In this case, or in case of an error, the FileSize property will be -1.