Re: Expect: sending larger files with ftp-inband
- From: Don Libes <libes@xxxxxxxx>
- Date: 04 Nov 2005 11:22:37 -0500
vdichev@xxxxxxxxx writes:
> > There was a bug in 5.42 related to send having problems with
> > buffering. Try upgrading to 5.43.
> >
> > Don
>
> Thanks for answering, Don. I compiled expect-5.43 and it seems it works
> much better but still regularly fails for files bigger than a couple of
> megs. I use now just a simple script which is an extract from
> ftp-inband where the transfer is done (basically it's what I've already
> pasted above). I am transferring text-only files and I am using the new
> expect executable (checked that several times).
>
> How much information can one expect (no pun intended) to transfer
> reliably? If slurping and sending the file in one piece works,
> shouldn't sending in chunks (lines, that is) also work?
>
> I am ready to recompile/debug if necessary.
>
> Thanks in advance,
> Vassil
When I wrote it, I tested it using relatively small files, 100K maybe.
However, the script is so simple in essence - that if it's bombing
out, it's worth looking into. I'd add a bit of checking to verify
that what you're sending is what's being recieved.
Don
.
- Follow-Ups:
- Re: Expect: sending larger files with ftp-inband
- From: vdichev
- Re: Expect: sending larger files with ftp-inband
- References:
- Re: Expect: sending larger files with ftp-inband
- From: Don Libes
- Re: Expect: sending larger files with ftp-inband
- From: vdichev
- Re: Expect: sending larger files with ftp-inband
- Prev by Date: Bug in pack?
- Next by Date: Re: Problems making a Starpack on Mac
- Previous by thread: Re: Expect: sending larger files with ftp-inband
- Next by thread: Re: Expect: sending larger files with ftp-inband
- Index(es):
Relevant Pages
|