From owner-freebsd-current Fri Feb 14 16:56:45 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FDDD37B401; Fri, 14 Feb 2003 16:56:43 -0800 (PST) Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id A984B43F75; Fri, 14 Feb 2003 16:56:41 -0800 (PST) (envelope-from buildadm@jp.FreeBSD.org) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id h1F0prJ28229; Sat, 15 Feb 2003 09:51:53 +0900 (JST) (envelope-from buildadm@jp.FreeBSD.org) Cc: current@FreeBSD.org In-Reply-To: <20030214233406.GA3814@rot13.obsecurity.org> References: <20030214233406.GA3814@rot13.obsecurity.org> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 54 From: SNAPSHOTs Service Administrator To: kris@obsecurity.org, yar@FreeBSD.org Subject: Re: FTP and command-line multiple downloads Date: Sat, 15 Feb 2003 09:51:50 +0900 Message-Id: <20030215095150T.buildadm@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (put my 'snapshots.jp.FreeBSD.org admin' hat on) kris> Since upgrading bento to running 5.0, it appears that I can no longer kris> download multiple files from a FTP server by specifying a glob pattern kris> on the command-line: Client says (from the server side logfile): Feb 15 08:28:31 u ftpd[85430]: command: SIZE base.?? Feb 15 08:28:31 u ftpd[85430]: <--- 550 Feb 15 08:28:31 u ftpd[85430]: base.??: not a plain file. Feb 15 08:28:31 u ftpd[85430]: command: EPSV Feb 15 08:28:31 u ftpd[85430]: <--- 229 Feb 15 08:28:31 u ftpd[85430]: Entering Extended Passive Mode (|||1679|) Feb 15 08:28:32 u ftpd[85430]: command: RETR base.?? Feb 15 08:28:32 u ftpd[85430]: <--- 550 Feb 15 08:28:32 u ftpd[85430]: base.??: No such file or directory. kris> This used to work under 4.x.. Also client says: Feb 15 08:42:35 u ftpd[85572]: command: TYPE A Feb 15 08:42:35 u ftpd[85572]: <--- 200 Feb 15 08:42:35 u ftpd[85572]: Type set to A. Feb 15 08:42:35 u ftpd[85572]: command: EPSV Feb 15 08:42:35 u ftpd[85572]: <--- 229 Feb 15 08:42:35 u ftpd[85572]: Entering Extended Passive Mode (|||1697|) Feb 15 08:42:35 u ftpd[85572]: command: NLST base.?? Feb 15 08:42:36 u ftpd[85572]: <--- 150 Feb 15 08:42:36 u ftpd[85572]: Opening ASCII mode data connection for 'file list'. Feb 15 08:42:36 u ftpd[85572]: <--- 226 Feb 15 08:42:36 u ftpd[85572]: Transfer complete. Feb 15 08:42:36 u ftpd[85572]: command: TYPE I Feb 15 08:42:36 u ftpd[85572]: <--- 200 Feb 15 08:42:36 u ftpd[85572]: Type set to I. Feb 15 08:42:36 u ftpd[85572]: command: SIZE base.aa Feb 15 08:42:36 u ftpd[85572]: <--- 213 Feb 15 08:42:36 u ftpd[85572]: 240640 Feb 15 08:42:36 u ftpd[85572]: command: EPSV Feb 15 08:42:36 u ftpd[85572]: <--- 229 Feb 15 08:42:36 u ftpd[85572]: Entering Extended Passive Mode (|||1698|) Feb 15 08:42:36 u ftpd[85572]: command: RETR base.aa Feb 15 08:42:36 u ftpd[85572]: <--- 150 Feb 15 08:42:36 u ftpd[85572]: Opening BINARY mode data connection for 'base.aa' (240640 bytes). 4.x client issues 'NLST' but 5.x client not; that's the problem. I'm also sure that nothing has changed on my side (actually I'm sleeping at that time :-). -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message