On Wed Oct 13, 2004 at 09:39:12 +1000, Alexander Samad wrote:
>Just a suggestion why not use scp 
>
>Alex
>
>On Wed, Oct 13, 2004 at 09:17:29AM +1000, Voytek Eymont wrote:
>> I have a simple backup script like:
>> 
>> cd /home
>> 
>>     for i in *.* ; do
>>         echo 'now processing' $i
>>         tar cfz $i.tar.gz /home/$i
>>         echo 'finished processing' $i
>>     done
>> 
>> -----
>> at completion, I'd like to login to ftp and mput *.gz;
>> how do I script ftp user/pass/commands ?

Well reading the man page for my ftp program you just
specify these on the command line:

ftp user:[EMAIL PROTECTED],

but I just realised that was the man page on a bsd box,
standard linux ftp program doesn't appear to support that.

lftp appears to support something similar though.

Cheers,

Benno
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to