[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to set ftp proxy?



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

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";
  };
};
~ 



Reply to: