Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2001 18:50:05 +0200 (CEST)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, "Eugene M. Kim" <ab@astralblue.net>
Subject:   Re: ftpd weirdness; CWD/RETR/... handles {} specially?
Message-ID:  <200107081650.SAA75246@lurza.secnetix.de>
In-Reply-To: <20010709005808.A41058@the-7.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Eugene M. Kim <ab@astralblue.net> 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




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