home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doc_net / ftp.man < prev    next >
Internet Message Format  |  1989-05-27  |  8KB

  1. From ra!tut!draken!kth!mcvax!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!iuvax!bsu-cs!ibmbin Fri May 26 13:05:12 EET DST 1989
  2. Article 296 of comp.binaries.ibm.pc:
  3. Path: chyde!ra!tut!draken!kth!mcvax!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!iuvax!bsu-cs!ibmbin
  4. >From: boneill@hawk.ulowell.edu (Brian O'Neill)
  5. Newsgroups: comp.binaries.ibm.pc
  6. Subject: v03INF2: ftp.man, Beginner's Guide to FTP
  7. Summary: ftp.man, Beginner's Guide to Binaries
  8. Keywords: info
  9. Message-ID: <7442@bsu-cs.bsu.edu>
  10. Date: 26 May 89 02:00:13 GMT
  11. Expires: 27 Jun 89 02:00:12 GMT
  12. Sender: ibmbin@bsu-cs.bsu.edu
  13. Followup-To: comp.binaries.ibm.pc.d
  14. Lines: 146
  15. Approved: dhesi@bsu-cs.bsu.edu
  16. X-Submissions-to: ibmpc-binaries@bsu-cs.bsu.edu
  17. X-Questions-to: ibmpc-binaries-request@bsu-cs.bsu.edu
  18. X-Repost-requests-to: ibmpc-repost@bsu-cs.bsu.edu
  19.  
  20. Checksum: 3450706750  (Verify with "brik -cv")
  21. Posting-number: Volume 03, Issue INF2
  22. Submitted-by: boneill@hawk.ulowell.edu (Brian O'Neill)
  23. Archive-name: v03info/ftp.man
  24.  
  25. [Date of Last Change: 3/26/89 Release 1.2]
  26.  
  27. [This file is available via FTP from swan.ulowell.edu (129.62.224.1), file
  28. ibmpc/General/ftp.man -B]
  29.  
  30.             GETTING BINARIES VIA FTP
  31.  
  32. Entire contents Copyright (c) 1989 by Brian O'Neill.  This manual was
  33. created to aid people in the usage of binary postings on UseNet.
  34. Permission to copy this file is granted, so long as credit is given to
  35. those who helped.  A list of those people appear at the end of this
  36. posting.
  37.  
  38.     FTP stands for File Transfer Protocol.  It allows a person to transfer
  39. files between two systems, generally connect over Ethernet networks or
  40. long-haul networks, such as the Internet.
  41.  
  42.     If your hosts system has FTP and is connected to the Internet, you
  43. can access very large amounts of archives available on a number of
  44. systems, such as Simtel20 or uunet.uu.net.  This is a simplified use
  45. manual, and will use two examples, one a TOPS-20 system
  46. (wsmr-simtel20.army.mil), and one Unix system (swan.ulowell.edu, my
  47. local system).
  48.  
  49.     The simplest way to initiate FTP would be to give the command 'ftp
  50. <system-name>', where <system-name> is the remote system you are
  51. connecting to, either a name (wsmr-simtel20.army.mil, if you have an
  52. entry in /etc/hosts or are accessing a Domain-name Server) or the InterNet
  53. address (26.2.0.74, for Simtel20).  After a short wait, you will be prompted 
  54. for your username.  If you do not have an account on the remote system, some
  55. systems allow you to use 'anonymous'.  This gives you a restricted
  56. access path.
  57.  
  58.     You would then be prompted for a password.  Some systems will tell
  59. you to send your real identity as the password.  What you type doesn't
  60. matter, but it is suggested to give your mail address.  Other systems
  61. need a password of 'guest', or something similar.
  62.  
  63.     After that, you should receive the FTP prompt (usually ftp>), and
  64. now have access.  You can get a directory of files be giving a 'dir'
  65. command, or if the remote system is Unix-based, 'ls -l' will give the
  66. familiar output.  On Simtel20, there is a file available in the
  67. default anonymous ftp directory that explains what Simtel20 is, and
  68. where files are located.  The name is 'SIMTEL-ARCHIVES.INFO.nn, where
  69. ".nn" is a file generation number.  You don't need to specify the file
  70. generation number when requesting the file.  In fact, it's better not
  71. to because you will always get the latest generation that way.
  72.  
  73.     Unix systems will all have the familiar directory structure, and
  74. moving around is done with the familiar 'cd' or 'cwd' command.
  75. TOPS-20 systems have a different structure, but movement is still
  76. accomplished with the 'cd' command.
  77.  
  78.     I will use Simtel20 as the first example. To start, give the
  79. command 'ftp wsmr-simtel20.army.mil' from your shell prompt, or 'open
  80. wsmr-simtel20.army,mil' from the 'ftp>' prompt.  If this host is not
  81. in your /etc/hosts file or you do not have access to a Domain-name Server,
  82. use '26.2.0.74' in it's place.  After a few seconds, you'll be prompted 
  83. for your username.  Type 'anonymous', and when prompted for password, 
  84. give your e-mail address (more as a courtesy than anything else), or if 
  85. you prefer, 'guest'.  You should then shortly get back the 'ftp>' prompt.  
  86. If you receive an error message stating that there are too many anonymous 
  87. logins, wait a few minutes and try again. Simtel20 has limited access,
  88. especially during normal business hours.
  89.  
  90.     Now, say you want to see what is stored for MS-DOS programs.
  91. Simtel20 is a DEC System-20 running the TOPS-20 operating system.  The
  92. directory structure is 'DISK:<DIRECTORY.SUBDIRECTORY>'.  For MS-DOS
  93. programs, the main directory is 'PD1:<MSDOS>'.  In here there is a
  94. file called 'MSDOS.CRCLST', which is updated almost daily.  It
  95. contains a list of all files within the MS-DOS subdirectories, along
  96. with file size and CRC value.
  97.  
  98.     To get this list, first switch to that directory by saying 'cd
  99. pd1:<msdos>' (TOPS-20 is not case sensitive).  If you are prompted for
  100. another password just ignore the request.  When you get the 'ftp>'
  101. prompt back, you can then say 'get msdos.crclst'.  This will initiate
  102. the transfer, and after a few minutes it will be completed.  The
  103. beauty of Unix is that while you are transfering something big, you
  104. can put it in the background and do something else.
  105.  
  106.     Say you wanted to get ProComm Plus. According to the list, it is
  107. in PD1:<MSDOS.PROCOMM>.  So, you can enter 'cd pd1:<msdos.procomm>'.
  108. A 'dir' will show all the files in that directory.  (You may wish not
  109. to use too many 'dir' commands, as they are sometimes fairly slow).
  110.  
  111.     Now, you want the file 'pcplustd.arc'.  First, you must tell your
  112. host what kind of file it is.  On most Unix systems, 'binary' or 'set
  113. type binary' or 'set type I' will work.  However, as Simtel20 runs a
  114. different OS that has different word sizes (36 bits) you must specify
  115. 'tenex' or 'type L 8' to transfer properly.  You can then issue a 'get
  116. pcplustd.arc' command, and after a short while, you have ProComm Plus.
  117. To end your session, enter the 'bye' command.
  118.  
  119.     Unix is a little more familiar for most people with Internet access. 
  120. For example, you might wish to get the latest version DSZ from 
  121. swan.ulowell.edu.  First, you give the 'ftp swan.ulowell.edu' command (or 
  122. ftp 129.63.224.1), giving 'anonymous' for the username, and your address 
  123. as the password.  You can then use the 'dir' or 'ls -l' commands to scan 
  124. the directories.  After logging in, you'll notice a directory called 
  125. 'ibmpc'.  You can use 'cd ibmpc', and you're inside.
  126.  
  127.     The ibmpc directory is subdivided into different subdirectories,
  128. such as Comm, SysUtil, and Programming.  DSZ is a communications
  129. program, so you can then 'cd Comm'.  Once again, there are several
  130. subdirectories, giving the names of several communications programs,
  131. and one marked 'Protocols'. Inside that directory is where DSZ is
  132. located.  There you'll find the latest version of DSZ (dsz0319.arc at
  133. this time).  Since it is a binary file, you must give the command
  134. 'binary' or 'set file type binary' to let FTP know.  Then you can
  135. issue the 'get' command.
  136.  
  137.     Different systems have different organizations for their files,
  138. and the above example is just the way I have it set up.  By 'poking'
  139. around other systems, you can learn how their files are set up, and
  140. zip around much faster.  Note, however, that FTP will not allow you
  141. outside the FTP 'root' directory, usually ~ftp on most systems.  So,
  142. poking about the entire system is not permitted.
  143.  
  144.     Other features of FTP can be found in the manual - please check there.
  145.  
  146.     Messages regarding problems, complaints or suggestions for
  147. Simtel20 should be addressed to 'action@wsmr-simtel20.army.mil'.
  148.  
  149.         THANKS TO ALL THOSE WHO HELPED...
  150.  
  151. I'd like to thank all those who helped in the creation of the manuals,
  152. and were patient enough for it to be released:
  153.  
  154.         Craig Browning
  155.         William Davidsen
  156.         Mike Driscoll
  157.         Bill Fenner
  158.         John Foulkes
  159.         Steven Harding
  160.         Mac Michaels
  161.         Derek Nazareth
  162.         Russ Nelson
  163.         Kevin Reilly
  164.         Keith Petersen
  165.  
  166.  
  167.  
  168.