Path: utzoo!attcan!uunet!lll-winken!sun-barr!newstop!sun!jasonf From: jasonf@cetemp.Eng.Sun.COM (Jason Freund) Newsgroups: comp.sys.amiga Subject: How to FTP, by Jason Freund Keywords: FTP Message-ID: <142740@sun.Eng.Sun.COM> Date: 19 Sep 90 18:05:49 GMT Sender: news@sun.Eng.Sun.COM Lines: 75 I'm no expert on FTPing, but for those of you completely in the dark, here's my interpretation of how to get started: (No flames, please) If I you find anything grossly innaccurate and misleading, please post. First see if your machine has the FTP command: TYPE "ftp". You should get the prompt "ftp> " or something like that. TYPE "bye" to exit. If you don't get the prompt, look for the path to the ftp command with "whereis ftp". It should be in /usr/ucb/ftp. If that worked, try "ftp"ing to another computer, preferably one with amiga stuff on it, like a.cs.uiuc.edu (128.174.252.1). "a.cs.uiuc.edu" is the name of a host computer like mine, cetemp.Corp.sun.com. 128.174.252.1 is UNIX's node address for that computer. TYPE "ftp 128.174.252.1" (it is better to use the #.#.#.# format instead of a.b.c.d) If that worked you should get something like "Connecting to ...." If you connect, it should ask you for your user name. TYPE "anonymous" (since you just want to visit and download some stuff and you don't have an account there). "anonymous" works on all public ftp sites. Any password (except RETURN works in most cases). So TYPE in anything for the password. If you don't connect and you get "Host unreachable..." or something then you need to ask your system administrator how to set up ftp in your account. Sometimes schools or businesses will have a special "gateway" for security purposes to restrict ftp-ing in and out. In that case, you'd need to get an account on their gateway machine to get access to the outside world. You should be logged into another machine. Your shell now has a limited vocabulary like "ls", "cd", and all of the really basic essentials. Look around for a file you want. To download it, you need to TYPE: "hash" -- Makes "#" marks on screen so you can see how fast download is going. Optional. "binary" -- If the file you want to get is not pure ascii text, you need to type "binary" to set some mark to "I" "get " -- puts that file in your current directory. ("put " "uploads" a file to your host machine -- make sure you put it in the "incoming directory). Many files have a ".Z" or another extension. you need to type "sh -c " and "uudecode " to unarchive and decompress most stuff. If you unarchive something and find a "Makefile", just TYPE "make" Here are some sample ftp sites with amiga stuff: a.cs.uiuc.edu (128.174.252.1) abcd20.larc.nasa.gov (Xanth) ux1.cso.uiuc.edu a.cs.uiuc.edu mars.ee.msstate.edu uafcseg.uark.edu ftp.ecs.clarkston.edu alfred.carleton.ca pilot.njin.net (only has ftp list) trantor.umd.edu Jason Freund, Sun Microsystems, jasonf@cetemp.Corp.sun.com <== summer address Deprtmnt of Computer Science, Univ California, Davis. freund@sakura.ucdavis.edu Quantum Link: JasonF5, Compu$erve: 72007,244, 690 Erie Dr, Sunnyvale, CA 94087 ------------------------------------------------------------------------------- STOLEN QUOTES -- Please give the authors credit if you know who they are! "To understand recursion, you need to understand recursion." "Wow! Virtual memory! Now I'm gonna build me a REALLY big ram disk!" "My other computer is a SUN3/50." "E. Pluribus UNIX" -- authors unkown