NonStop SSH SFTP API Reference Manual
Controlling Transfer Summary
Summary information about each file transfer gets generated, e.g.:
165527760 bytes transferred in 86 seconds ( 1.8MB/s)
By default the number of bytes transferred is set to the EOF value of a file. This ensures consistency between the size of
a file displayed by the ls -l command and the summary information. But the size of the actual content of a Guardian edit
or structured file can differ greatly from the EOF value.
If it is of interest to see the actual number of bytes transferred in the transfer summary, then a define
=SFTP^BYTES^TRANSFERRED can be set to ACTUAL:
ADD DEFINE =SFTP^BYTES^TRANSFERRED, CLASS MAP, FILE ACTUAL
The default value for this define is EOF, meaning the "bytes transferred" line contain the EOF value of a file in case the
transfer was successful.
HP NonStop SFTP API Reference Manual . Migrating FTP API Applications to SFTP API • 12










