From owner-freebsd-questions@FreeBSD.ORG Mon Aug 10 21:01:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A781210656CD for ; Mon, 10 Aug 2009 21:01:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 68ACD8FC23 for ; Mon, 10 Aug 2009 21:01:48 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id 4237D1DC5C; Mon, 10 Aug 2009 23:01:47 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7AL1k8v003031; Mon, 10 Aug 2009 23:01:46 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 10 Aug 2009 23:01:45 +0200 From: Polytropon To: Tsu-Fan Cheng Message-Id: <20090810230145.623f9421.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: FTP server navigation problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2009 21:01:49 -0000 On Mon, 10 Aug 2009 16:36:36 -0400, Tsu-Fan Cheng wrote: > Hi, > I use freebsd7.2 and can't access my friend's FTP server (crystal FTP > server) from command line. I can't run any command in the ftp server, it > only responds "Entering Extended passive mode" and hang. But when I ftp from > windows command prompt, it actually works. So what's the matter with my BSD > communication? thanks!! Refer to "man ftp". Passive FTP is mentioned as follows: EXTENDED PASSIVE MODE AND FIREWALLS Some firewall configurations do not allow ftp to use extended passive mode. If you find that even a simple ls appears to hang after printing a message such as this: 229 Entering Extended Passive Mode (|||58551|) then you will need to disable extended passive mode with epsv4 off. See the above section The .netrc File for an example of how to make this automatic. Above it states: epsv4 Toggle the use of the extended EPSV and EPRT commands on IPv4 connections; first try EPSV / EPRT, and then PASV / PORT. This is enabled by default. If an extended command fails then this option will be temporarily disabled for the dura- tion of the current connection, or until epsv4 is executed again. You can use this setting either via .netrc or as an interactive command. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...