From owner-freebsd-questions Mon Jul 15 07:58:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA15321 for questions-outgoing; Mon, 15 Jul 1996 07:58:06 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA15316; Mon, 15 Jul 1996 07:58:04 -0700 (PDT) Received: from beta.mep.ruhr-uni-bochum.de (beta.mep.ruhr-uni-bochum.de [134.147.6.3]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id HAA19059 ; Mon, 15 Jul 1996 07:57:55 -0700 Received: (from roberte@localhost) by beta.mep.ruhr-uni-bochum.de (8.6.9/8.6.9) id QAA15560; Mon, 15 Jul 1996 16:55:13 +0200 From: Robert Eckardt Message-Id: <199607151455.QAA15560@beta.mep.ruhr-uni-bochum.de> Subject: Re: ftp(1) man page To: gpalmer@FreeBSD.ORG (Gary Palmer) Date: Mon, 15 Jul 1996 16:55:12 +0200 (MET DST) Cc: dunn@harborcom.net, freebsd-questions@FreeBSD.ORG In-Reply-To: <877.837416875@orion.webspan.net> from "Gary Palmer" at Jul 15, 96 03:47:55 am X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > "Bradley Dunn" wrote in message ID > <199607150311.XAA09598@ns2.harborcom.net>: > > Hmmm... man ftp says this: > > > ascii Set the file transfer type to network ASCII. This is the > > default type. > > > Yet binary mode seems to be the default. Am I missing something? > > ascii mode IS the default, if you read the login sequence carefully, > if the remote machine is ID'd as being UN*X, it goes to binary > mode. Otherwise, it's ASCII ... this is probably a small oversight in > the docs more than anything. I never thought of the man-page, because ftp tells me > Connected to server.dekanat-bio.ruhr-uni-bochum.de. > 220 server.dekanat-bio.ruhr-uni-bochum.de FTP server (Version 6.00) ready. > Name (server.dekanat-bio:roberte): > 331 Password required for roberte. > Password: > 230 User roberte logged in. > Remote system type is UNIX. ==== > Using binary mode to transfer files. ====== > ftp> Except, when it's a Solaris 2.4 machine > Connected to helios.bph.ruhr-uni-bochum.de. > 220 helios FTP server (UNIX(r) System V Release 4.0) ready. > Name (helios.bph:roberte): > 331 Password required for roberte. > Password: > 230 User roberte logged in. > ftp> dir > 200 PORT command successful. > 150 ASCII data connection for /bin/ls (134.147.160.165,40001) (0 bytes). > -rw-rw-r-- 1 roberte ftirwork 175 Feb 17 11:05 noti > 226 ASCII Transfer complete. > ftp> get noti > local: noti remote: noti > 200 PORT command successful. > 150 ASCII data connection for noti (134.147.160.165,40002) (175 bytes). ===== > 226 ASCII Transfer complete. > 199 bytes received in 0.0014 seconds (1.4e+02 Kbytes/s) > ftp> quit Any idea why Solaris isn't Un*x ? ( ftp> system ) ( 500 'SYST': command not understood. ) ( I trap into this nearly everytime I transfer a binary file :-( ) Regards, Robert -- Robert Eckardt ( Ruhr-Universitaet Bochum, Inst.f.Theor.Physik, NB6/169 ) Universitaetsstrasse 150, D-44780 Bochum, Germany ----X---8---- Telefon: +49 234 700-3709, Telefax: +49 234 7094-574 8 E-Mail: RobertE@MEP.Ruhr-Uni-Bochum.de --------8---- URL: http://WWW.MEP.Ruhr-Uni-Bochum.de/ >>> Fuer die einen ist es bloss ein Betriebssystem, <<< >>> fuer die anderen ist es der laengste Virus der Welt. .... Windows 95 <<<