Hi!
First off you did a great job with lftp and alot of features are in it
that are really useful like multiple servers connection and scripting
support and full ssl/tls support, etc. but I'm creating a set of
scripts on top of lftp and I have some questions that I can't find an
answer to even after looking at the mailing list archive and
man/tutorial and I was hoping you can answer to me as you are the most
knowledgeable about lftp :)
What's the easiest way for a script to communicate with lftp ? At the
moment I'm using print("command >file"); and then read from file but
that doesn't allow me to properly catch errors.
Another thing would be how to make it so that when I send a command to
a site/slot I would want to change to another site/slow and give
another command and not wait for the first site to complete ... I want
the connections to be parallel both in execution and display of
messages so that I can send commands fast to them and not care about
the whole if one site suddenly has connection problems and the whole
queue stalls cause of that.
Another thing would be how can I determine what was the active slot
when I started a command/script ? I wanna know what's the active slot
in a script to be able to do a per slot/site specific commands.
I'm sure I still have some questions but nothing more crosses my mind
at the moment.
Thanks in advance,
--
Regards,
Ciprian