XMODEM file padding (was Re: UMODEM on local connections)

Greg Andrews gandrews at netcom.COM
Sat Apr 13 11:47:47 AEST 1991

In article <1991Apr9.161637.12059 at oswego.oswego.edu> ostroff at oswego.Oswego.EDU (Boyd Ostroff) writes:
>The only problem I've noticed is that there are often a bunch of NULLs 
>appended to the end of the file, as though the two programs couldn't agree 
>on where the file ends...

XMODEM doesn't send any file name or file length information to the
receiver, and the data packets are 128 bytes in size, period.

If the file size doesn't match up to an exact multiple of 128 bytes, the
last packet will be only partly full of file data.  The protocol has to
put SOMEthing into the packet to fill it out, and nulls are often used.

|  Greg Andrews   |       UUCP: {apple,amdahl,claris}!netcom!gandrews    |
|                 |   Internet: gandrews at netcom.COM                      |

More information about the Comp.sys.3b1 mailing list