Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 1999 20:21:46 +0100 (CET)
From:      Stefan Zehl <sec@btl.42.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/9529: ftp filname completion can't handle spaces.
Message-ID:  <199901161921.UAA00568@btl.42.org>

next in thread | raw e-mail | index | archive | help

>Number:         9529
>Category:       bin
>Synopsis:       ftp filname completion can't handle spaces.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 16 11:30:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Zehl
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

3.0 make worlded today

FreeBSD btl.42.org 3.0-CURRENT FreeBSD 3.0-CURRENT #3: Sat Jan 16 16:10:35 CET 1999     sec@btl.42.org:/usr/src/sys/compile/BTL  i386

>Description:


if you use ftp's new filname completion (thanks to whoever did it :)
it fails to quote spaces.

>How-To-Repeat:

Script started on Sat Jan 16 20:17:44 1999
btl% ftp ftp
Connected to ice.42.org.
220- This (private) site is located in Munich, Germany.
220 ice FTP server (Version 6.00LS) ready.
Name (ftp:sec): ftp
331 Guest login ok, send your email address as password.
Password:
230- Welcome stranger, this is ftp.42.org.
230- All your transactions will be logged.
230- Only take the things you really need.
230- 
230- CU,
230-    Sec
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /pub/misc
250 CWD command successful.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
total 1294346
-rw-r--r--  1 sec  pub     367899 Sep  7 20:05 8534tb.exe
-rw-r--r--  1 sec  sec     654913 May 12  1998 APMV12.rtf
-rw-r--r--  1 sec  pub     204120 Jan 24  1998 GTR.tar.gz
-rw-r--r--  1 sec  prv    1474560 Jun 12  1997 QNX.DSK
-rwxr-xr-x  1 sec  pub     116260 May  3  1998 arj.exe
-rw-r--r--  1 sec  sec       2076 Dec 28 10:08 b_anti_banner.tgz
-rw-r--r--  1 sec  pub       6484 Jan 29  1998 dkbooter-1.0.zip
drwxr-xr-x  2 sec  pub        512 Sep 17  1997 fonts
drwxr-xr-x  2 sec  pub        512 Jan 16 19:16 foo bar
                                               ^^^^^^^ this is the directory

-rw-r--r--  1 sec  sec  659486720 Jan 10 00:26 oth_1.97-12.98.img
drwxr-xr-x  2 sec  pub        512 Sep 28  1997 rc5-challenge
226 Transfer complete.
ftp> cd foo bar
        ^^^^^ hit tab after the 'foo' to see the problem
usage: cd remote-directory
ftp> quit
221 Goodbye.
btl%

>Fix:
	

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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