From owner-freebsd-bugs Sat Jan 16 11:30:05 1999 Return-Path: <owner-freebsd-bugs@FreeBSD.ORG> Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA13301 for freebsd-bugs-outgoing; Sat, 16 Jan 1999 11:30:05 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA13280 for <freebsd-bugs@FreeBSD.org>; Sat, 16 Jan 1999 11:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA29477; Sat, 16 Jan 1999 11:30:01 -0800 (PST) Received: from btl.42.org (btl.42.org [194.246.250.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA12675 for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Jan 1999 11:21:50 -0800 (PST) (envelope-from sec@btl.42.org) Received: (from sec@localhost) by btl.42.org (8.9.2/8.9.1) id UAA00568; Sat, 16 Jan 1999 20:21:46 +0100 (CET) (envelope-from sec) Message-Id: <199901161921.UAA00568@btl.42.org> Date: Sat, 16 Jan 1999 20:21:46 +0100 (CET) From: Stefan Zehl <sec@btl.42.org> Reply-To: sec@btl.42.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/9529: ftp filname completion can't handle spaces. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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