zmodem file transfer problems

John G. De Armond jgd at rsiatl.UUCP
Thu Mar 15 13:13:14 AEST 1990


alexp at chaos.cs.brandeis.edu (Alex Prengel) writes:

>Not sure this is the right group for this, but it was the closest I could find.
>I am having problems sending files from a UNIX mainframe to my PC using zmodem
>(I have used it extensively in PC to PC transfers and found it fast, reliable
>and efficient). When I initiate the transfer from the mainframe (sz foo.bar)
>and start the download on the PC end, the transfer begins but invariably starts
>to generate errors (typically ZERPOS header, but also CRC ERROR and various
>others). The errors start at a very consistent byte count (about 5K as I recall)
>and then repeat frequently (about every 4 to 10K, though the interval is not
>perfectly regular). Although zmodem will retransmit until the file gets through,
>the transfer is much too slow, making it utterly impractical for large files.

I believe the problem to be that the current versions (up to about 9 months
old) disable the handshaking on the modem port.  I see this problem 
commonly on systems where the modem does a baudrate conversion.  Example,
a telebit with the port baud locked at 19.2 and the dialin port allowed to
adjust to the caller's rate.

Knowing whether or not the modem on the other end is of this type is 
crucial information.

In the interim, a quick fix is to use the -w option to limit the window
size to less than the capacity of the modem buffer.  That way the computer-
modem link stops and waits for ACKs.  You won't see any degradation in
performance on the 2400 baud line because of this, as the ack will be 
returned before the buffer completely clears.

In the meanwhile, I'm working on an implementation of zmodem  for a 
commercial application in my work and will be looking at this problem
in detail.

John

-- 
John De Armond, WD4OQC  | We can no more blame our loss of freedom on congress-
Radiation Systems, Inc. | men than we can prostitution on pimps.  Both simply
Atlanta, Ga             | provide broker services for their customers.
emory!rsiatl!jgd        |  - Dr. W Williams |                **I am the NRA**  



More information about the Comp.unix.questions mailing list