TransferRate Property

See Also

FtpDLX Class  | FtpDLX Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

TransferRate Property

Returns average speed of the file transfer.

[Visual Basic]
Public Property TransferRate As Integer
[C#]
public int TransferRate {get;}
[JScript]
public function get TransferRate : int

Remarks

TransferRate defines how much maximum bandwidth wodFtpDLX.NET currently use. You can call it to get current transfer rate (calculated as average value from the time transfer started), or to get average value of last file transfer (if it has already finished). Typicaly, you will use it from Progress event, or from Done event. Value is shown in "bytes per second" ratio.

To get correct kilobytes and megabytes per second values, you should divide desired bps rate with 1024 or 1024^2, not 1000.

If you want to see what was duration of the file transfer, you can check TransferTime property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members

 

 


© WeOnlyDo Software. All Rights Reserved.