Using the %rcvfilecount and %sendfilecount Variables

Top  Previous  Next

 

The %rcvfilecount and %sendfilecount variables record the number of files 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 "*.*"

SET msg = %rcvfilecount + " files received"

MESSAGEBOX msg

 

 

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

 

SENDFILE "*.*"

SET msg = %sendfilecount + " files sent"

MESSAGEBOX msg

 

 

Related Command(s): RCVFILE, SENDFILE