Re: How to set ftp proxy?
Hi, Craig,
On Sun, 5 Sep 2004 07:31:33 -0500
Craig Jackson <cjackson@localsurface.com> wrote:
> On Sun, 5 Sep 2004 14:47:16 +0800
> jackie wang <jackiew@sunlong.com> wrote:
>
> > hi all,
> >
> > My sources.list contain some sites like deb ftp://xxx.xxx......, but
> > can't fetch it! so i want know how to set a ftp proxy. for example,
> > 192.168.210.5: 8013, how to set it as a ftp proxy?
>
>
> RTFM
sorry, I'm a newbie:(
>
> There are examples in docs directory. But anyway here it is from
> apt.conf.
>
> APT::Default-Release "testing";
>
> Acquire
> {
> Queue-Mode "host"; // host|access
> Retries "0";
> Source-Symlinks "true";
>
> // HTTP method configuration
> http
> {
> Proxy "http://IP:3128";
> Timeout "120";
> Pipeline-Depth "5";
> };
>
> ftp
> {
> Proxy "ftp://IP:3128";
> Timeout "120";
> Passive "true";
> Proxy::Passive "true";
> };
> };
> ~
>
BTW, I think apt.conf must in /etc/apt/, right? And if i have no such file, i must crete it manually?
thank you very much!
jackie
Reply to: