home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Info / auto.downloading.ideas < prev    next >
Text File  |  1992-10-30  |  3KB  |  94 lines

  1. This came from Scott Bigham not too recently.  I hope somebody could find
  2. an interesting way to put this information to good use.  Please let me know
  3. if you come up with anything interesting......
  4.  
  5. weiner
  6.  
  7. ----------------------------------------------------------------------------
  8. Subject: 3am Downloading (was Re: umich archives)
  9.  
  10. Little did I know what I was getting into when I wrote in <666@news.duke.edu>:
  11.  
  12. Still with me?  Okay, the following assumes that you're on a Unix system with
  13. FTP access.  It may also be a bit oversimplistic for some, but better to be
  14. oversimplistic than overcryptic.
  15.  
  16. 1.  If you haven't already done so, create in your home directory a file named
  17.     .netrc with the following line:
  18.  
  19. machine atari.archive.umich.edu login anonymous password <your e-mail address>
  20.  
  21.     or add said line to an existing .netrc.  This will log you in automatically
  22.     when you connect to a.a, and is thus useful in its own right.
  23.  
  24.  
  25. 1a.  Type the command:
  26.  
  27. chmod 700 .netrc
  28.  
  29.      This denies read and write access on the file to everyone but yourself.
  30.      If you fail to do this, you'll get the error:
  31.  
  32. Error -- .netrc file not in correct mode
  33.  
  34.      ftp is thoughtfully pointing out to you that you may have sensitive
  35.      password information in a file that everyone can read.
  36.  
  37. 2.  Create a file (say `infile') containing the ftp commands you'd normally use
  38.     to download files; for instance:
  39.  
  40. binary
  41. hash
  42. cd atari/games
  43. get wizard.arc
  44. cd ../mint
  45. get mint092b.zoo
  46. [etc...]
  47.  
  48. 3.  Create another file (say `cmdfile') containing the single line:
  49.  
  50. ftp atari.archive.umich.edu < infile > outfile
  51.  
  52. 4.  Type the command:
  53.  
  54. at 3am cmdfile
  55.  
  56.     At this point you might get one of two errors.  `at:  Command not found' or
  57.     similar means your system doesn't have an `at' command.  Oh well.  `at:
  58.     Permission denied' or similar means that on your system, only certain
  59.     users are allowed to use `at'.  Talk to the local system admin about
  60.     getting added to the at.allow list.  If you get a cryptic number back,
  61.     you've succeeded; that's the ID number of the `at' job you just created.
  62.  
  63. 5.  Check back tomorrow.  If it worked, you should see all the files you
  64.     requested, and a file named `outfile' containing a sort of "transaction
  65.     log" -- most or all of what you would have seen had you been running ftp
  66.     interactively.
  67.  
  68. Note that the `3am' parameter can be made more elaborate -- `at 4am thursday',
  69. for instance.  Type "man at" for more information.
  70.  
  71. If you have questions (or if I've made mistakes), I'm just an 'r' (or an 'f') 
  72. away.
  73.  
  74.                         -sbigham
  75. -- 
  76. Scott Bigham                   | The opinions expressed above are
  77. bigham@hercules.acpub.duke.edu | (c) 1991 Hacker Ltd. and cannot be
  78.                                | copied or distributed without a
  79.                                | Darn Good Reason(tm).
  80.  
  81.  
  82. From me, Jeff Weiner:
  83.  
  84. 1.  3 am is a good time if you're in North America. There's very little machine
  85. load, and things will go quite smoothly.  If you're in Europe or Asia,
  86. our GMT time is -4:00.  Please figure this approriately so that your request
  87. occurs when it's about 3 or 4 am HERE!!
  88.  
  89. 2.  There's been a report or two of people who have something similar set
  90. up for bart use.  If you have it, please mail me something that describes
  91. your set up.  I'm sure there are several people who could make use of it.
  92. Thanks!
  93.  
  94.