Re: Expect: sending larger files with ftp-inband



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

.



Relevant Pages

  • Re: Expect: sending larger files with ftp-inband
    ... > There was a bug in 5.42 related to send having problems with ... > buffering. ... Try upgrading to 5.43. ... ftp-inband where the transfer is done (basically it's what I've already ...
    (comp.lang.tcl)
  • Re: Help! WScript application error!
    ... I found a bug in my script. ... Due to a design error, ... >> I cannot be sure if upgrading the script host helps, ...
    (microsoft.public.scripting.vbscript)
  • Re: Help! WScript application error!
    ... do you think the bug is in my script or in the script host? ... I cannot be sure if upgrading the script host helps, bcz as I have said, the ...
    (microsoft.public.scripting.vbscript)
  • cvs-src summary for June 14-21
    ... Intel PRO/10GbE driver MFC'ed ... Max responded, saying that since the script only adds lines to the output, ... Max later backed out the commit. ... Bruce Evans fixed a bug that allowed users to crash the system by ...
    (freebsd-current)
  • Re: SQLite 3.3.16 nulls test results
    ... Here are the results from Brian's script: ... Inserting values ... Selecting row with Marge ... Perhaps there's a bug somewhere. ...
    (perl.dbi.users)