PowerTCP FTP for .NET
TotalBytes Property



Gets the aggregated number of bytes for the entire copy operation. Returns the value of BytesCopied if the SIZE is unknown or less than BytesCopied.
Syntax
Public ReadOnly Property TotalBytes As Long
Dim instance As ListProgress
Dim value As Long
 
value = instance.TotalBytes
public long TotalBytes {get;}
public:
property int64 TotalBytes {
   int64 get();
}
Remarks
When retrieving compressed files (FtpSession.Compression == Compression.Archive) and the SIZE command is supported, TotalByes would normally return the byte count of the compressed files, so in this case TotalBytes returns the value of BytesCopied when the Length of the remote files is less than BytesCopied.
See Also

Reference

ListProgress Class
ListProgress Members


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