Back to product page

BytesDownload property


Holds total number of bytes user downloaded.

Type

A Long value.

Syntax

  • Basic
object.BytesDownload [= value]    
The BytesDownload(object,value) syntax has these parts:
objectAn expression evaluating to an object of type SSHUser.
valueA Long value.

Remarks

From the time user connects to your server, up to time you're accessing this property, it will keep (and regularly increase) total number of bytes downloaded by connected user. This value can be used for some statistical or similar purposes.

You can reset this value to 0 at any time, or set it to any other value at any time. For instance, if you want to memory total downloaded bytes across all the sessions by the user, you should store this value to your database when user disconnects, and then take it back from database and put to this property when user logs in.

Note that this value specifies total number of bytes in unencrypted form. Additional data can be added by wodSSHD in each packet, such as packet information, digest byte array etc. , but this is not added to BytesDownload property.

Platforms

Windows