[CentOS] Auto exit lftp on bash script

Les Mikesell lesmikesell at gmail.com
Tue Jan 26 19:45:51 UTC 2010


On 1/26/2010 1:11 PM, Alan Hoffmeister wrote:
>
>> try ncftpput instead?
>>
>> http://www.ncftp.com/ncftp/doc/ncftpput.html
>>
>> "The purpose of ncftpput is to do file transfers from the
>> command-line without entering an interactive shell. This lets
>> you write shell scripts or other unattended processes that can
>> do FTP. It is also useful for advanced users who want to send
>> files from the shell command line without entering an interactive
>> FTP program such as ncftp. "
>>
>> nate
>>
>>
>>
>
> Yeah, but lftp do sync, that's my point.

Rsync will do it better, if that's an option at the other end. Wget also 
has a mirroring mode.

-- 
   Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list