Ah thanks for the insight that makes sense

From: Johnny Billquist <bqt@softjar.se>
Sent: Thursday, January 4, 2024 9:44 AM
To: Mike Kostersitz <mikekostersitz@gmail.com>; Info-PDP11@dbit.com <Info-PDP11@dbit.com>; simh@groups.io <simh@groups.io>; [PiDP-11] <pidp-11@googlegroups.com>; 'The Hobbyist DECnet mailing list' <hecnet@lists.dfupdate.se>
Subject: Re: [PiDP-11] Announcing TCP/IP V2.15 for RSX-11M-PLUS
 
Hi.

On 2024-01-04 17:38, Mike Kostersitz wrote:
> Thanks Johnny for the quick fix.
>
> I noticed at the end of the FETCH in RPM there is a discrepancy in the
> number of files
>
> 221-Thank you for using this ftp service.
>   Data traffic was 14.4 MB in 3 files.
>   Total traffic was 14.4 MB in 4 transfers.
> 221 Closing connection.
>
> Should the 3^rd  line not be Total traffic was 1.4MB in 3 transfers?

Actually not. Because there is an MGET to fetch the files, and the MGET
itself will request a transfer of a list of files matching the pattern,
so there is an internal extra transfer in this case.

Basically, LIST is a command that cause a transfer, but it's not a file.
Same with DIR. And the data in that transfer is also counted towards the
total traffic number, which means that sometimes the two numbers will
also differ. But the difference is so small in relation to the size of
the total amount transferred in this case that this small difference
becomes the same after rounding.

   Johnny

--
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol