From owner-freebsd-questions Mon Oct 12 00:56:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA21438 for freebsd-questions-outgoing; Mon, 12 Oct 1998 00:56:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from phoenix.welearn.com.au (suebla.lnk.telstra.net [139.130.44.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA21429 for ; Mon, 12 Oct 1998 00:56:37 -0700 (PDT) (envelope-from sue@phoenix.welearn.com.au) Received: (from sue@localhost) by phoenix.welearn.com.au (8.9.1/8.9.0) id RAA01628; Mon, 12 Oct 1998 17:56:19 +1000 (EST) Message-ID: <19981012175615.48311@welearn.com.au> Date: Mon, 12 Oct 1998 17:56:15 +1000 From: Sue Blake To: freebsd-questions@FreeBSD.ORG Subject: ftp get filenames with spaces and junk text Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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