From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 10:07:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EC4216A4CE for ; Mon, 3 Nov 2003 10:07:34 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6817D43FE5 for ; Mon, 3 Nov 2003 10:07:33 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id hA3I7Wca055269; Mon, 3 Nov 2003 12:07:32 -0600 (CST) (envelope-from dan) Date: Mon, 3 Nov 2003 12:07:32 -0600 From: Dan Nelson To: Zhang Weiwu Message-ID: <20031103180732.GB71164@dan.emsphone.com> References: <3FA63DD2.90609@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA63DD2.90609@hotmail.com> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: different types of ftp proxy? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 18:07:34 -0000 In the last episode (Nov 03), Zhang Weiwu said: > Hello. My friend have a Windows XP box running acfp proxy server (an > opensource proxy server on sourceforge) which provide me http and ftp > proxy both at the port 3130. I use it with Mozilla. Works fine for > both http and ftp access. > > But I cannot use it with fetch(1). I set the http_proxy and ftp_proxy > environment variables (value=192.168.0.1:3130), but only http access > through the proxy succeed. Is fetch(1) using ftp_proxy in a different > way than Mozilla? Try setting ftp_proxy to "http://192.168.0.1:3130". The fetch command can FTP over either an ftp proxy or an http proxy, so you need to tell it which your server is. FTP over an http proxy is a bit limited, but it does work. -- Dan Nelson dnelson@allantgroup.com