Our LAN is connected to the Internet with Proxy gateway. Access is authorized 
and requires following communication scheme:

USER <proxy-account-username>
PASS <proxy-account-password>
USER <[EMAIL PROTECTED]>
PASS <remote-ftp-server-password>

Both proxy server and gateway are using this scheme, they just listen on 
different ports.

How do I setup OpenBSD's ftp client to communicate with such proxy ?
I've tried to scpecify login information in URL (export 
ftp_proxy="ftp://myname:[EMAIL PROTECTED]:8821/"), tried ftp-gateway mode 
(export FTPMODE=gate;
export FTPSERVER="myname:[EMAIL PROTECTED]"; export FTPSERVERPORT=8921) but all 
attempts has failed :(
AFAIK ~/.netrc file can contain authentication informations for remote ftp 
server only.

Please help, I cann't add any package from ports. I've manualy downloaded and 
installed wget and it can pass our proxy so if there is some way how to force 
pkg_add
to use wget instead of ftp, there should be some solution.

Thx

Reply via email to