PowerTCP FTP for .NET
Length Field



Gets the size of the file in bytes. Can be set by the user when parsing the Text property.
Syntax
Public Length As Long
Dim instance As ListEntry
Dim value As Long
 
value = instance.Length
 
instance.Length = value
public long Length
public:
int64 Length

Field Value

An integer value representing the size of the file or directory as reported by the server in the listing.
Remarks

This value may not reflect the actual size of the file, as CRLF may not be included in the count by the server. To get the actual file size for any file, use Ftp.GetSize.

See Also

Reference

ListEntry Class
ListEntry Members


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic