From owner-freebsd-stable Sun Jul 8 9:50:18 2001 Delivered-To: freebsd-stable@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id E8D9737B406 for ; Sun, 8 Jul 2001 09:50:12 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.9.3/8.9.3) id SAA75246; Sun, 8 Jul 2001 18:50:05 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Sun, 8 Jul 2001 18:50:05 +0200 (CEST) Message-Id: <200107081650.SAA75246@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, "Eugene M. Kim" Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: ftpd weirdness; CWD/RETR/... handles {} specially? In-Reply-To: <20010709005808.A41058@the-7.net> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.1-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eugene M. Kim wrote: > On Sun, Jul 08, 2001 at 05:33:23PM +0200, Oliver Fromme wrote: > > Note that shell globbing is only performed on LIST. > > I just tried -- CWD and RETR don't expand them. > [...] > ftp> cd /roo? > ---> CWD /roo? > 250 CWD command successful. > ftp> pwd > ---> PWD > 257 "/root" is current directory. I get this: ftp> cd /roo? ---> CWD /roo? 550 /roo?: No such file or directory. (There is, of course, a directory /root.) This is the ftpd(8) from 4.3-Release. If the behaviour changed in 4-stable after 4.3-Release, then that's a serious incopatibility indeed. It should be backouted immediately. In particular, globbing upon RETR is _definitely_ not the job of the server. That's what the clients' mget command is for (which sends an NLST, then performs globbing on the client side, and then uses RETR to get the actual files). Globbing upon CWD could be subject to discussion, but at least it should be an option that defaults to off. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message