Hi Juan,
I suggest that your solution is in your other email, and is the one I
used for years :
One dir for each server, or group of servers, with specific config
(.lftp/rc, .lftprc and even .netrc), and set HOME to this dir before
launching lftp.
HOME=/path/to/server1 lftp
Or some easy bash script wrapper that runs lftp that way...
Franck
Le 29/04/2016 10:38, Juan Simón a écrit :
ok, but it's less clean that specify a config file for every FTP
server, by other side, I have several alias with same name but
different behaviour in every FTP server, can I define these alias in
same config file with same name with those closures?
That's what closures were made for. For example: set ftp:sync-mode/ftp.onesite.com yes set
ftp:sync-mode/ftp.another.org no set net:timeout/*.domain.net 30 -- Alexander. > > 1.
The 'lftp -h' doesn't show this option. > >> 2. In man file the options of
lftp command are near the end, when I
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp