Date: Mon, 15 Jul 1996 16:55:12 +0200 (MET DST) From: Robert Eckardt <roberte@beta.mep.ruhr-uni-bochum.de> To: gpalmer@FreeBSD.ORG (Gary Palmer) Cc: dunn@harborcom.net, freebsd-questions@FreeBSD.ORG Subject: Re: ftp(1) man page Message-ID: <199607151455.QAA15560@beta.mep.ruhr-uni-bochum.de> In-Reply-To: <877.837416875@orion.webspan.net> from "Gary Palmer" at Jul 15, 96 03:47:55 am
next in thread | previous in thread | raw e-mail | index | archive | help
>
> "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 <<<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607151455.QAA15560>
