Re: [Enhancement] Option to specify config file

"Alexander V. Lukyanov" <[email protected]> Fri, 29 Apr 2016 12:15:08 +0300
Newsgroups gmane.network.lftp.user
Message-ID <[email protected]>
On Fri, Apr 29, 2016 at 10:52:28AM +0200, Franck Eyraud wrote:
> 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...

There is also LFTP_HOME environment variable, using it you can avoid the
extra .lftp subdirectory (or XDG .local and .config).

--
   Alexander.
_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp