PowerTCP FTP for .NET
Length Property (CopyResult)



Gets the size of the file being copied. Returns the value of Position if the SIZE is unknown or less than Position.
Syntax
Public ReadOnly Property Length As Long
Dim instance As CopyResult
Dim value As Long
 
value = instance.Length
public long Length {get;}
public:
property int64 Length {
   int64 get();
}
Remarks
When retrieving a compressed file (FtpSession.Compression == Compression.Archive) and the SIZE command is supported, Length would normally return the byte count of the compressed file, so in this case Length returns the value of Position when the Length of the remote file is less than Position.
See Also

Reference

CopyResult Class
CopyResult Members


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