On Thu, Mar 04, 2004 at 05:57:41PM -0800, Joe Cai wrote:
> Hi,Alexander
> First I should thank you for your great job on lftp:)
> I find that I can't specify an alternative config file (or rc file) when
> using lftp.I guess if there's a parameter such as `-C <config file>` it
> would become much more convenience for pepole that have different config
> files for accessing different sites.

You can use -e option:

        lftp ftp.a-site.com -e "source config-file"

Besides, many options can be set for each host separately:

        set ftp:passive-mode/ftp.a-site.com yes
        set ftp:passive-mode/ftp.b-site.com no
        set ftp:anon-pass/*.domain.com [EMAIL PROTECTED]

-- 
   Alexander.

Reply via email to