On Sun, Nov 30, 2008 at 3:17 AM, Andrus <kobruleht2@xxxxxx> wrote: >> Are you using ftp or lftp? lftp is much more scriptable / controllable >> than regular ftp. > > I'm using ftp as shown in script. > typing lftp shows that this is not found but locate shows something. > How to use lftp in this 3-year old gentoo ? > Where to find sample script for thos task ? Sorry, I'm no gentoo expert. It's certainly not the first distro I'd recommend to someone just starting out with linux / unix. Time to break out the google. I also found quite a few example scripts for lftp with google in a few minutes. here's a simple one. open myftp.ftp.com user username password cd /some_directory/ mv textfile.tar Finishedtextfile.tar get Finishedtextfile.tar -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general