'Declaration Public ReadOnly Property BytesTotal As Long
'Usage Dim instance As FileTransferStatusEventArgs Dim value As Long value = instance.BytesTotal
public long BytesTotal {get;}
'Declaration Public ReadOnly Property BytesTotal As Long
'Usage Dim instance As FileTransferStatusEventArgs Dim value As Long value = instance.BytesTotal
public long BytesTotal {get;}
This value is not always available when calling the FtpClient.ReceiveFile method since some FTP servers will not return the size of a file in the first reply to the RETR (ReceiveFile) FTP command and the FTP client will not request a listing of the file to retrieve when using the ReceiveFile method. As a workaround, the FtpClient.ReceiveMultipleFiles method can be used (non-recursively!) to receive the file.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2