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.
I must manage existing gentoo server where previous maintainer has left company. lftp is not found in gentoo and nobody knows how to activate it. So I must use existing ftp. This issue may not realted to ftp program. I verified multiple times that file exists and is readable. Any ides why ftp does not find /root/my-backups/mybackup6.backup ? There must be something simple. Can /root directoy access from fpt program is disabled for some strange reason ? ftp server log contains (ip and names changed): 23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd: (?@1-2-3-4.xx.com) [DEBUG] Command [user] [d11551f21768] 23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd: (d11551f21768@xxxxxxxxxxxxxx) [DEBUG] Command [pwd] [] 23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd: (d11551f21768@xxxxxxxxxxxxxx) [DEBUG] Command [type] [I] 23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd: (d11551f21768@xxxxxxxxxxxxxx) [DEBUG] Command [pasv] [] 23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd: (d11551f21768@xxxxxxxxxxxxxx) [DEBUG] Command [stor] [/root/my-backups/mybackup6.backup] 23:50:20 (2008-11-29) z12.zone.com [ftp.err] pure-ftpd: (d11551f21768@xxxxxxxxxxxxxx) [ERROR] Can\'t open that file: No such file or directory 23:50:20 (2008-11-29) z12.zone.com [ftp.err] pure-ftpd: (d11551f21768@xxxxxxxxxxxxxx) [ERROR] Rename/move failure: No such file or directory 23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd: (d11551f21768@xxxxxxxxxxxxxx) [DEBUG] Command [quit] [] 23:50:20 (2008-11-29) z12.zone.com [ftp.info] pure-ftpd: (d11551f21768@xxxxxxxxxxxxxx) [INFO] Logout. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general