Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.SFTP
- Methods
- Properties
- Authentication
- Blocking
- BufferSize
- Compression
- Encryption
- EncryptionList
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- State
- Timeout
- TransferMode
- TransferRate
- TransferTime
- Version
- Events
- How to get support?
TransferRate property
Returns average speed of the file transfer.
Type
Long integer.Syntax
- C#
- VB.NET
Int64 TransferRate {get; };
ReadOnly Property TransferRate As Int64
Remarks
TransferRate defines how much maximum bandwidth wodSFTP 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.