From owner-freebsd-questions Mon Oct 12 23:10:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA07401 for freebsd-questions-outgoing; Mon, 12 Oct 1998 23:10:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA07396 for ; Mon, 12 Oct 1998 23:10:16 -0700 (PDT) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.8.8/8.8.3) id CAA00204; Tue, 13 Oct 1998 02:09:48 -0400 (EDT) Message-ID: <19981013020947.A188@emu.sourcee.com> Date: Tue, 13 Oct 1998 02:09:47 -0400 From: Norman C Rice To: Evren Yurtesen Cc: Sue Blake , freebsd-questions@FreeBSD.ORG Subject: Re: ftp get filenames with spaces and junk text References: <19981012105901.A26212@emu.sourcee.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Evren Yurtesen on Tue, Oct 13, 1998 at 08:08:02AM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 13, 1998 at 08:08:02AM +0300, Evren Yurtesen wrote: > the ftp command which is comes with 2.2.6 release and after also > supports tab key to complete file names True. However, AFAIK you must type a double quote prior to using tab key if the file name has an embedded space. This is done automagically by ncftp2/3. -- Regards, Norman C. Rice, Jr. > > On Mon, 12 Oct 1998, Norman C Rice wrote: > > > On Mon, Oct 12, 1998 at 05:56:15PM +1000, Sue Blake wrote: > > > How do I get oddly named files from a macintosh ftp server to land on > > > my FreeBSD disk with a decent file name? Here's some examples: > > > > > > 981011 Small Bus. Sue > > > Extra bits for System.sit > > > > You can try the ncftp2/3 port -- with it you can use the tab key > > to complete file names. An alternative method would be to use > > a graphical FTP client and click on the file names. Using the > > standard FTP client you can try using wildcard characters > > (`*' and `?') to complete the file names, but YMMV. > > -- > > Regards, > > Norman C. Rice, Jr. > > > > > > > > Sorry, that's the only two names I can type that don't use funny > > > characters. > > > > > > I know that the default ftp client can do this (I peeked naughtily at > > > the man page) but can't figure out how to get it to: > > > 1. fill spaces between an infinite number of words with underscores > > > 2. replace or kill all those squiggly characters > > > as it writes to my disk. (No I can't change the remote files.) > > > nmap seems to be the ftp command I need but I can't speak its language. > > > Can someone help me work it out? > > > > > > > > > PS... to whoever put all these wonderful bells and whistles into the > > > ftp client, a big thank you! There's lots of handy stuff in there. > > > > > > > > > -- > > > > > > Regards, > > > -*Sue*- > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message