Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2008 07:34:47 +0100
From:      Norman Maurer <norman@apache.org>
To:        Zbigniew Szalbot <zszalbot@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: passive ftp transfer with pkg_add
Message-ID:  <1201502087.6923.2.camel@norman-laptop>
In-Reply-To: <94136a2c0801272219ue080ef9o74f30862c4c5ef73@mail.gmail.com>
References:  <94136a2c0801272219ue080ef9o74f30862c4c5ef73@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Am Montag, den 28.01.2008, 07:19 +0100 schrieb Zbigniew Szalbot:
> Hello,
> 
> I have been trying to install KDE by using pkg_add -r kde but the
> download is always failing. Reading man pkg_add I see a reference to
> change the FTP mode to passive if the download constantly fails.
> However, man does not say which file should be edited to change it. I
> tried pkgtools.conf but I have not found anything about FTP transfer
> mode in there.
> 
> Can you advise which file needs to be edited?
> 
> Also:
> 
> "Note: If you wish to use passive mode ftp in such transfers, set the
>      variable FTP_PASSIVE_MODE to some value in your environment."
> 
> What value should be set for FTP_PASSIVE_MODE? Any value?
> 
> Many thanks!
> 
> Zbigniew Szalbot

Yes just do something like that:

# export FTP_PASSIVE_MODE=true


bye
Norman






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1201502087.6923.2.camel>