hello,
On Mon, Oct 14, 2002 at 12:07:44PM +0800, I-wap Systems wrote:
> I need to automate ftp to retrieve files in a shell script, but the problem is lftp
>need my interaction to give command, how can i automate it. I have been trying all
>methods, please help...thank you
i hope i understood right what you want to do.
try either
lftp -u central, central 192.168.1.45 -c "cd CENTRAL; ls; get aFile; exit"
important: all commands, that lftp should execute between "" and seperated
by ;
or use lftpget (makes more sense in this case).
regards,
wernfried
--
-> Fppmpppffpppmpfpffmffmppmpm Mfpmmmmmmfmm
-> [EMAIL PROTECTED]
-> mfpfmpfmppfm://fpfppffpmmpppff.ppmfmfmpm.mmmfmp/~mmmppmpppmpppppmffppfppp
-> http://www.namesuppressed.com/kenny/