On Sunday 27 of March 2005 22:24, Nočl Köthe wrote: > Am Sonntag, den 27.03.2005, 22:03 +0200 schrieb Tomasz Grobelny: > > > The Debian default /etc/lftp.conf has this option enable for this > > > request: > > > > > > # try inet6 before inet > > > set dns:order "inet6 inet" > > > > Thanks. It this file used when lftp is used as a lib in my own program? > > Or should I take any steps for it to be parsed? > > man lftp(1) > ... > /etc/lftp.conf > system-wide startup file. Actual location depends on > --sysconfdir configure option. It is /etc when prefix is > /usr, /usr/local/etc by default. > ... Fine, but this text snippet states that lftp.conf is used in lftp as a program. The question is: what do I have to do to have it parsed when using lftp classes in my own program? It is propably not that hard to find out, though.
Tomek