[CLUG] Batch ftp
Donncha O Caoimh
donncha.ocaoimh at tradesignals.com
Fri Jan 21 09:10:42 GMT 2000
The latest ncftp (in rh6.1) has a more command-line interface than
others. lftp can be found at freshmeat and is well worth the download.
It's basically a shell in an ftp program with all the process control
and regex you'd expect :) You can also get it do download using several
streams at once to get higher throughput which is quite cute. I used it
to download Mandrake7 and got a consistent 4-5k/s all the time for 2
days over the weekend using 5 connections (can't resume though when you
use the above method)
Someone here is using expect to automate ftping from one machine to
another on the LAN. AFAIK he's using regular ftp.
Peter Flynn wrote:
> On Thu, 20 Jan 2000, you wrote:
> > You could look at lftp or ncftp. I seem to remember catting a file of
> > commands to ncftp to upload some files at one stage.
> Ta. I don't have lftp. I have ncftp but it's a character-cell program
> (curses-based?) so I'm not sure it would be any good running from
> a cron script, would it?
> > Or, use expect to automate it.
> Does expect work with ftp? I haven't tried under Linux but I used it
> (or something called the same) on another platform and it just bombed.
More information about the Cork