Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 07:08:12 +0300 (EEST)
From:      vadims@libre.lv
To:        freebsd-questions@freebsd.org
Subject:   cannot use ftp utility throught proxy  
Message-ID:  <alpine.BSF.2.00.1305280652390.46917@vbsd.libre.lv>

next in thread | raw e-mail | index | archive | help
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@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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

Excuses my language, not native English.

Have a lucky day!
VS.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1305280652390.46917>