cannot use ftp utility throught proxy

vadims at libre.lv vadims at libre.lv
Tue May 28 04:18:02 UTC 2013


Hello!
Can someone help me, please?

Have no luck seting up ftp utility for using proxy.
Already have set environment variables:
FTP_PROXY=http://proxyserver:8080
HTTP_PROXY=http://proxyserver:8080

When try to connect:
root# root at zerver:/root # ftp -a ftp2.FreeBSD.org
root# ftp: Can't connect to `128.205.32.24:21': Operation timed out
root# ftp: Can't connect to `ftp2.FreeBSD.org:ftp'

Used tcpdump to check where it connects:
root# tcpdump -n -ttt -i em0 port ftp

& I can see, that ftp is trying to connect directly to 128.205.32.24.21.

Tried to use this env variable, but without acceptable results:
FETCH_CMD=/usr/bin/fetch -ARrvp -T 10

uname -a
9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

Excuses my language, not native English.

Have a lucky day!
VS.


More information about the freebsd-questions mailing list