|
Hi, I need to have lftp allways active, reading a script file,
and execute the new commands found in the script file. So far it doesn’t seem to support this, or at least I have
not found the option. What I currently do is, lftp :~> repeat 1 source script.lftp So I have a process to send for example: Echo “mirror ftp://ftp.redhat.com”
> script.lftp Echo “mirror ftp.slackware.com”
>> script.lftp Echo “!echo –n > script.lftp” >>
script.lftp This Works great so far, I have lftp always on, and I can
send commands to be executed, it just takes lftp 1 second to get the new
commands to execute. If I execute “lftp –f script.lftp” it does
exit after script is finished. I need to have lftp looking for new lines (commands) in a
script file. Any ideas to improve this? Thanks in advantage. |
- lftp as a service DBA
- Re: lftp as a service Alexander V. Lukyanov
- Re: lftp as a service Michael Petuschak
- RE: lftp as a service DBA
