Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!NISC.SRI.COM!cwilson From: cwilson@NISC.SRI.COM (Chan Wilson) Newsgroups: comp.sys.apple Subject: Re: BITFTP / FTP questions Message-ID: <14233@fs2.NISC.SRI.COM> Date: 14 Mar 90 14:48:31 GMT References: <1442@mountn.dec.com> Reply-To: cwilson@NISC.SRI.COM (Chan Wilson) Organization: Network Info Systems Ctr., SRI Intl., Menlo Park, CA. Lines: 67 In article <1442@mountn.dec.com> shatara@memit.enet.dec.com (Chris Shatara) writes: > >I have been trying out the recently announced BITFTP capability to allow >users access to FTP capability who would otherwise not have access to it. > >Having tried it I now have a bunch of questions, which I suspect have more >to do with UNIX and FTP protocol than BITFTP itself. (I know nothing about >UNIX - surprise! :-) ) Hokay. I was going to answer this in email, but figured it might be of importance to someone else trying this, so... >As a test I tried to do two things: > > 1) Get a directory of an FTP host > > 2) Get a file from an FTP host [slurp] [directory list follows] total 3 >-r--r--r-- 1 root 200 0 Dec 22 16:54 .rhosts >dr-xr-xr-x 2 root bin 512 Dec 16 1988 bin >dr-xr-xr-x 2 root 200 512 Oct 14 1988 etc >drwxrwxrwx 22 uucp daemon 512 Mar 12 11:25 pub [slurp] Now this directory looks nothing like the directory that Mark Johnson of >Apple puts out on the net, an extract of which follows: > . > . >-r 13769 Feb 21 16:59 ./human.interface/notes/hin-006.txt >-r 8280 Feb 21 16:59 ./human.interface/notes/hin-005.txt [slurp] Ah, nasty. What Mark did was do an 'ls -Rl' (or similar) from the dts subdirectory. You don't see a 'dts' subdirectory, do you? That's because it's hidden in the 'pub' directory. You had the right approach: > FTP apple.com > USER anonymous > ASCII > GET /human.interface/notes/hin-000.txt But it's going to fail for two reasons: a) It's the wrong pathname. It should have been /pub/dts/human.interface/notes/hin-000.txt b) Even with the correct pathname, that wouldn't have worked. You need to change to the directory before getting the file. (cd) Try this one: FTP apple.com USER anonymous ASCII CD /pub/dts/human.interface/note GET hin-000.txt QUIT That should work. --Chan ................ Chan Wilson -- cwilson@nisc.sri.com I don't speak for SRI. Janitor/Architect of comp.binaries.apple2 archive on wuarchive.wustl.edu "And now, the penguin on top of the television set will explode." ................