(E-Mail Removed) (David Efflandt) wrote:
>On 26 Apr 2004 10:06:47 -0700, Ajit Kamat <(E-Mail Removed)> wrote:
>> Hi,
>>
>> I am copying some files from my linux PC to a handset having linux
>> installed. This I am doing using minicom. I also get a shell prompt on
>> the handset via minicom terminal and can browse the directories on the
>> handset. Is it possible to copy files from the handset to the PC. What
>> are the prerequisite for any system to support uploading the files via
>> serial port? I am able to run the sz command on the handset but I get
>> the error "Got ZCAN". Any way in which I can copy files from the
>> handset to my PC using serial communication.
>
>You either have to run rz on the receiving end before starting sz on
That can't be done in that order. You must start sz at the
distant end, and then start rz on the local side.
>sending end, or use a terminal client that can automatically receive
>zmodem files (I hear kermit mentioned, but have never used it).
The minicom program he is using includes the zmodem protocol for
both send and receive.
It's been a _long_ time since I've done any file transfers using
that method, and I have no idea what "Got ZCAN" means, and the
man page for sz doesn't give a clue. I guess a search through
the sources would be the way to find out...
However, I do recall having all sorts of problems that varied
from one host to another, with one program or another, and it
always basically amounted to just trying different things until
something worked. The first thing to start with is the use of
xmodem-1k or ymodem rather than zmodem. With any of them, if a
transfer can get started, and get at least a few packets sent,
even if it then hangs at some point the significance is that the
send end and the receive end can probably work together (and
fooling with various other options will eventually lead to
success).
Frankly, I'd rather set up PPP, if possible.
--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)
(E-Mail Removed)