Using the %downloadsize and %uploadsize Variables

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Script Programming > Internal Script Variables >

Using the %downloadsize and %uploadsize Variables

 

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