petes <(E-Mail Removed)> wrote:
> I want to connect to a ftp server - lets call it "B". The proxy
> servers name is "A". No login is needed on "A" but user and password
> is needed on "B".
Most half-way descent software (ie, not the 'ftp' command) ought to
respect the ftp_proxy environment variable. I know lynx does this, and
it can view FTP sites as well.
If for instance you're running a Squid-cache proxy, you could put these
lines in your login script.
export http_proxy='http://myproxy.domain:3128/'
export ftp_proxy='http://myproxy.domain:3128/'
And yes, that is http: for the ftp_proxy value, as between the proxy and
the client it uses HTTP, even though the connection the proxy will make
is FTP.
Then a lynx
ftp://your.site/path will take you to the FTP site you want
(defaulting to anonymous access). lynx will also properly respect Proxy
authentication too.
--
Cameron Kerr
(E-Mail Removed) :
http://nzgeeks.org/cameron/
Empowered by Perl!