home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Info / guide.to.ftp < prev    next >
Text File  |  1992-10-30  |  5KB  |  116 lines

  1.  
  2. This is a basic guide to ftp.  It is intended only to get you on your
  3. way to ftp happiness.  Please let me know if you have any comments,
  4. questions, or suggestions.  
  5.  
  6. weiner@atari.archive.umich.edu
  7.  
  8. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9.             Jeff Weiner's FTP Basics Vol.1 #1
  10.  
  11.  
  12. Part 1: Logging in
  13. To begin an ftp session, the first thing you need to do is log in to our
  14. machine.  You can do this by issuing the 'ftp atari.archive.umich.edu'
  15. command.  You should then see something like this:
  16.  
  17. Connected to atari.archive.umich.edu.
  18. 220 atari.archive.umich.edu FTP server (Version 4.169 Wed Jan 2 17:03:56 EST 199
  19. 1) ready.
  20. Name (yourhost.domain.edu:yourusername):
  21.  
  22. At this prompt you'll want to type 'anonymous'.  On some hosts, the word
  23. 'guest' will work, but 'anonymous' is always a sure bet.
  24.  
  25. If you don't see this login prompt, but instead get something like
  26. 'Our host was unable to trace a name back to (some internet address).
  27.  We only accept ftp from properly registered hosts', then you'll have to
  28. ask your sys-admin to properly register your machine in its name servers.
  29. There's nothing we can do on this end, so please don't bother asking.
  30. Also, if your machine doesn't allow you to specify the atari.archive name,
  31. try using out internet address : 141.211.164.8  Then, march down to
  32. your sys-admins office and ask him to install name-service.  Your life will
  33. become much easier.
  34.  
  35. Assuming you recieved the above prompt, you'll then be asked for a 
  36. password.  Use your mail address. For example, I would use 
  37. 'weiner@atari.archive.umich.edu'
  38.  
  39.  
  40. Part 2: Basic Commands
  41. Once you're logged on, there's a few basic commands you'll want to know about.
  42.  
  43. ls  : lists the names of files of sub-directories in a directory.
  44. ls -C  : Lists the files horizontally, instead of vertically.
  45. ls -F : Lists filenames, but adds a / to the end of directory names.
  46. dir : does the same thing as ls, but is needed on some other machines
  47. ls -l : A verbose listing of files.  Includes permissions, filesize, etc.
  48. cd  : changes directories (i.e. 'cd atari' would put you in the atari area)
  49. cd .. : Goes 'back up' a directory, to the one you came from.
  50.  
  51. This from redmond@IUS4.IUS.CS.CMU.EDU:
  52. For more than one argument to ls, use double quotes.  Eg.  ls "-FC *.lzh"
  53.  
  54. These are about all you need to get moving around the archive.  
  55.  
  56.  
  57. Part 3: Getting the Goddies
  58.  
  59. The main reason you want to ftp in the first place is to quickly transfer 
  60. files.  More often than not, you'll want to transfer the files from
  61. the archive to your account.  You can do this using the following commands:
  62.  
  63. First, find the file you want to download.
  64. Second, issue the command 'type binary'.  This tells our machine that 
  65. you'll be transferring a binary file.  This is really important.  You'll
  66. waste a LOT of time if you download files that were not transferred in 
  67. binary mode.
  68. Third, issue the command 'get <filename.ext>'.  This will instruct 
  69. the archive host to send <filename.ext> to your account.
  70.  
  71. The last thing you'll want to do is use the 'quit' command.  This 
  72. tells our machine you're no longer interested in ftping files, and would
  73. like to go back to your command prompt.
  74.  
  75. Now, you'll need to download your files from your mainframe(sparc, whatever)
  76. to your ST.  Usually you'll want to use either kermit or x- or y- or z-modem
  77. protocols.  They're very reliable.  I'd be quite hesitant to try something
  78. else.  Also, your machine and ST are usually unique to you.  This means
  79. that I really can't help you with this part.  You could try asking, but
  80. I'm going to promise anything.
  81.  
  82. Part 4: A Few Words on Net Ettiquette
  83.  
  84. Net Ettiquette is something that every net user should be aware of. 
  85. Relating to ftp, and our archive, it is essentially this:
  86.  
  87. 1)  Try to keep ftp usage to an absolute minimum during business hours,
  88. in our time zone.  That would be 9 am to 5 pm , EST.  This roughly means
  89. upload or download one file or so and little else during these hours.  After
  90. 5pm, have a blast.  Go nuts.  We probably won't mind nearly as much.....
  91. Otherwise, we will drive to your campus or place of work (even if you
  92. live in Europe) and we'll kick your butt.  Or, Jon will sing Prince 
  93. songs to you.  Whichever you'd like the least.
  94.  
  95. 2)  If you have a question about some aspect of ftp service or some
  96. other area of your computer, please ask around at your site first.  Don't 
  97. immediately fire off all of your questions to us.  I don't mind answering
  98. questions about the archive, problems with logging in, or something
  99. similar.  But I tend to get upset when people ask me questions like, 
  100. "Jeff, how come I can't get the fgrep command to work properly on
  101. my sparc station...."
  102.  
  103. 3) Please try to upload files that you know the archive doesn't have.  I
  104. know it's not the greatest thing to do, but if you can find time to
  105. download stuff, I think you can find time to return the favor and
  106. upload things also.
  107.  
  108.  
  109. If you have any reasonable questions, any comments or concerns, etc.
  110. please mail them to me, weiner@atari.archive.umich.edu.
  111.  
  112. Thanks,
  113. weiner
  114.  
  115.  
  116.