Using the %downloadsize and %uploadsize Variables

Top  Previous  Next

 

The %downloadsize and %uploadsize variables record the size in bytes of a file transferred with the most recent RCVFILE and SENDFILE script commands, respectively.

 

Consider the following example in which the total number of files downloaded is used in a message that is displayed to the user.

 

RCVFILE "mydata.txt"

SET msg = %downloadsize + " characters received"

MESSAGEBOX msg

 

 

See Also: Internal Script Variables