Using the %ftpdifffiles and %ftpdiffnum Variables |
Top Previous Next |
These variables are set by the FTPDIFF and FTPGETDIFF script commands respectively.
The %ftpdifffiles variable contains the total number of different files that the FTPDIFF command detected while scanning the directory listing for the specified path on the remote site's file system.
The %ftpdiffnum variable contains the sequential number of a given file returned by the FTPGETDIFF command.
Used together, it is possible to calculate how many more differences there may be when performing a script loop calling FTPGETDIFF to identify multiple differences.
Specifically, %diffnum = %difffiles after FTPGETDIFF has been issued a sufficient number of times to find all the currently identified differences detected by the most recent FTPDIFF command.
Related command(s): FTPDIFF, FTPGETDIFF See also: Internal Script Variables |