home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / aus / general / 2711 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  13.5 KB

  1. Xref: sparky aus.general:2711 aus.mail:257 aus.archives:244 aus.aarnet:1451
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!sgigate!sgi!decwrl!csus.edu!umn.edu!math.fu-berlin.de!informatik.tu-muenchen.de!lrz-muenchen.de!regent!monu1.cc.monash.edu.au!monu6!escargot!goanna!munnari.oz.au!metro!cs.uow.edu.au!root
  3. From: ftpmail@cs.uow.edu.au
  4. Newsgroups: aus.general,aus.mail,aus.archives,aus.aarnet
  5. Subject: ftpmail - automatic monthly posting
  6. Message-ID: <1993Jan25.001304.5349@cs.uow.edu.au>
  7. Date: 25 Jan 93 00:13:04 GMT
  8. Sender: root@cs.uow.edu.au (Super User)
  9. Reply-To: ftpmail@cs.uow.edu.au
  10. Distribution: aus
  11. Organization: University of Wollongong
  12. Lines: 424
  13.  
  14. The ftpmail service is designed to provide a ftp service to
  15. those sites without Internet access. The ftpmail gateway
  16. parses mail items to extract requests to fetch files or
  17. obtain directory listings from Internet ftp hosts.
  18.  
  19. The address of the gateway is
  20.  
  21. ftpmail@cs.uow.edu.au
  22.  
  23. To mail to the maintainer of the ftpmail service send mail to
  24.  
  25. ftpmail-adm@cs.uow.edu.au
  26.  
  27. The following is a copy of the help file ftpmail returns
  28. when it does not understand your request.
  29.  
  30. ====================================================================
  31.  
  32.  
  33. Welcome to the University of Wollongong MAIL to FTP gateway.
  34.  
  35. This message is the response the gateway sends when it does
  36. not understand your request.
  37.  
  38. The gateway is a simple attempt to provide a service to those
  39. people who have electronic mail but no access to Internet
  40. for FTP.
  41.  
  42. Requests
  43. ========
  44.  
  45.     To access the gateway send mail to
  46.  
  47.     ftpmail@cs.uow.edu.au
  48.  
  49. The gateway software will examine the body of your mail item
  50. (headers are ingored) and try to determine what machine you
  51. wish to access and what file you want fetched.
  52.  
  53. It also implements a interface to the "archie" system
  54. for locating files available for anonymous ftp.
  55. Archie searches a database of files available for
  56. ftp from a list of major archive sites.
  57.  
  58. For example, you may know of a product called
  59. "amd" but not know where it is available on the
  60. Internet. You could use the "archie" command to find out
  61. where a copy of "amd" is available. Some information on using the
  62. "archie" command is enclosed at the end of this document.
  63.  
  64. Using FTPMAIL
  65. ============
  66.  
  67. Normally, ftpmail attempts to connect with the target machine as an anonymous
  68. ftp user. It is possible to override the user name ftpmail will use for the
  69. connection as well as specify a password (see below).
  70.  
  71. If the above step is successful it then attempts the transfer in binary
  72. mode and if successful mails the files to you. All files are sent uuencoded.
  73. If the file is large it is split into smaller pieces and
  74. each piece is sent separately.
  75.  
  76. Each request must contain a single line of the form
  77.  
  78. HOST hostname
  79.  
  80. to specify the remote host you wish to access. The "hostname" field above
  81. may be a INTERNET style domain name or an IP address in dotted notation.
  82. Wherever possible, names should be used rather than IP numbers.
  83. You may only have a single "HOST" line per FTPMAIL request.
  84. If using dotted decimal notation, do not enclose the address inside
  85. [] style brackets.
  86.  
  87. To specify the file to transfer your request must contain
  88. a line of the form
  89.  
  90. GET filename-1 filename-2 ........
  91.  
  92. Each request can only contain one GET command but each GET command
  93. may specify several file names.
  94.  
  95. If you wish to list the files available on a remote machine
  96. your request should contain a line of the form
  97.  
  98. DIR directory-1 directory-2 .......
  99.  
  100. A request may contain only one of either a GET or a DIR line.
  101.  
  102. If you have a problem send mail to ftpmail-adm@cs.uow.edu.au
  103. or the postmaster. The system is experimental and probably contains
  104. many bugs. If you find a bug, please notify the above address so
  105. it can be fixed.
  106.  
  107. Ftpmail normally sends fetched files back to you as a series
  108. of shell archives. If you are not on a UNIX system
  109. (my condolences) you may specify you want the uuencoded segments
  110. "raw" by specifying a line of the form
  111.  
  112. PLAINMAIL
  113.  
  114. in your request. In this case you may combine the uuencoded segments
  115. by hand. There is no way to avoid the uuencoding or the
  116. splitting of large files.
  117.  
  118.  
  119. Large files are split into small pieces to avoid problems
  120. with mailers that cannot handle large files. The default
  121. chunksize is 60K. Users may override the default chunksize
  122. with the CHUNKSIZE keyword. The number specified with the
  123. CHUNKSIZE keyword is the size in Kilobytes. For example,
  124.  
  125. CHUNKSIZE 200
  126.  
  127. included in the mail body will set the chunksize to 200K bytes.
  128. The lower limit on the chunksize is 20K and the upper limit
  129. is 200K. CHUNKSIZE may be specified along with the PLAINMAIL
  130. keyword.
  131.  
  132.  
  133.  
  134. Using a specified user name
  135. ===========================
  136.  
  137. Ftpmail allows the user to specify the user name and password
  138. to use for the connection. If you use this facility remember that
  139. the password you specify appears in the mail item as PLAIN
  140. TEXT. Mail is not secure so sending plain text passwords should be
  141. used with extreme caution. In general, only publicly available
  142. passwords should be sent in this manner.
  143.  
  144. The commands for specifying a user name and password are
  145.  
  146. USER username      (no spaces allowed)
  147.  
  148. and
  149.  
  150. PASSWORD password     (no spaces allowed)
  151.  
  152. Ftpmail will attempt to connect to the specified server
  153. (from the HOST command) and use the specified user name
  154. and password.
  155.  
  156.  
  157. Using ARCHIE
  158. ============
  159.  
  160. If your request contains a line of the form
  161.  
  162. ARCHIE parameters
  163.  
  164. then ftpmail will invoke the "archie" command with the parameters
  165. specified. For example, if you sent mail containing the line
  166.  
  167. ARCHIE amd
  168.  
  169. then ftpmail will invoke "archie" with the argument amd.
  170.  
  171. The output from the command is mailed back exactly as it
  172. is printed by the "archie" command.
  173.  
  174. The man page for "archie" follows.
  175.  
  176.  
  177.  
  178.  
  179.  
  180. ARCHIE(1)                USER COMMANDS                  ARCHIE(1)
  181.  
  182.  
  183.  
  184. NAME
  185.      archie - query the  Archie  anonymous  FTP  databases  using
  186.      Prospero
  187.  
  188. SYNOPSIS
  189.      archie [ -cers ] [ -a ] [ -l ] [ -t ] [ -m hits ] [ -N level ] [ -h hostname ]
  190.              [ -o filename ] [ -L ] [ -fB-V ] string
  191.  
  192. DESCRIPTION
  193.      archie queries an archie anonymous FTP database looking  for
  194.      the  specified  string  using  the  Prospero protocol.  This
  195.      client is based on Prospero version Beta.4.2 and is provided
  196.      to  encourage non-interactive use of the Archie servers (and
  197.      subsequently better performance on both  sides).   This  man
  198.      page describes version 1.3 of the client.
  199.  
  200.      The general method of use is of the form
  201.  
  202.           % archie string
  203.  
  204.      This will go to the archie server and ask it to look for all
  205.      known  systems  that have a file named `string' in their FTP
  206.      area.  archie will wait, and print out any matches.
  207.  
  208.      For example,
  209.  
  210.           % archie emacs
  211.  
  212.      will find all anonymous FTP sites  in  the  archie  database
  213.      that  have  files  named  emacs somewhere in their FTP area.
  214.      (This particular query would probably return a lot of direc-
  215.      tories.)  If you want a list of every filename that contains
  216.      emacs anywhere in it, you'd use
  217.  
  218.           % archie -c emacs
  219.  
  220.      Regular expressions, such as
  221.  
  222.           % archie -r '[xX][lL]isp'
  223.  
  224.      may also be used for searches.  (See the manual of a reason-
  225.      ably good editor, like GNU Emacs or vi, for more information
  226.      on using regular expressions.)
  227.  
  228.  
  229. OPTIONS
  230.      The options currently available to this archie client are:
  231.  
  232.      -c          Search substrings paying attention  to  upper  &
  233.                  lower case.
  234.      -e          Exact string match.  (This is the default.)
  235.      -r          Search using a regular expression.
  236.  
  237.  
  238.  
  239. Archie (Prospero)  Last change: 9 January 1992                  1
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246. ARCHIE(1)                USER COMMANDS                  ARCHIE(1)
  247.  
  248.  
  249.  
  250.      -s          Search  substrings  ignoring  the  case  of  the
  251.                  letters.
  252.      -ofilename  If specified, place the results of the search in
  253.                  filename.
  254.      -a          Output results as Alex filenames.
  255.      -l          Output results in a form suitable for parsing by
  256.                  programs.
  257.      -t          Sort the results inverted by date.
  258.      -mhits      Specifies the maximum number of  hits  (matches)
  259.                  to return (default of 95).
  260.      -Nlevel     Sets the niceness of a query; by  default,  it's
  261.                  set  to 0.  Without an argument, ``-N'' defaults
  262.                  to 35765.   If  you  use  -N  with  an  argument
  263.                  between 0 and 35765, it'll adjust itself accord-
  264.                  ingly.  (Note: VMS users will have to put quotes
  265.                  around  this  argument, and -L, like "-N45"; VMS
  266.                  will otherwise convert it to lowercase.)
  267.      -h hostname Tells the client  to  query  the  Archie  server
  268.                  hostname.
  269.      -L          Lists the Archie servers known  to  the  program
  270.                  when it was compiled, as well as the name of the
  271.                  default Archie server.  For an up-to-date  list,
  272.                  write  to  ``archie@archie.mcgill.ca''  (or  any
  273.                  Archie  server)  with  the  single  command   of
  274.                  servers.
  275.      -V          With the verbose option, archie will  make  some
  276.                  comments  along  the way if a search is going to
  277.                  take some time, to pacify the user.
  278.  
  279.      The three search-modifying arguments  (``-c'',  ``-r'',  and
  280.      ``-s'')  are  all  mutually  exclusive;  only  the  last one
  281.      counts.  If you specify -e with any of  ``-c'',  ``-r'',  or
  282.      ``-s'', the server will first check for an exact match, then
  283.      fall back to the case-sensitive, case-insensitive, or  regu-
  284.      lar expression search.  This is so if there are matches that
  285.      are particularly obvious, it will take a minimal  amount  of
  286.      time to satisfy your request.
  287.  
  288.      If you list a single `-' by itself,  any  further  arguments
  289.      will  be  taken  as  part  of  the  search  string.  This is
  290.      intended to enable searching for strings that begin  with  a
  291.      `-'; for example:
  292.  
  293.           % archie -s - -old
  294.  
  295.      will search for all filenames that contain the string `-old'
  296.      in them.
  297.  
  298. RESPONSE
  299.      Archie servers are set up to respond to a number of requests
  300.      in  a  queued fashion.  That is, smaller requests get served
  301.      much more quickly than do large requests.  As a result,  the
  302.  
  303.  
  304.  
  305. Archie (Prospero)  Last change: 9 January 1992                  2
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312. ARCHIE(1)                USER COMMANDS                  ARCHIE(1)
  313.  
  314.  
  315.  
  316.      more  often  you query the Archie server, or the larger your
  317.      requests, the longer the queue will become, resulting  in  a
  318.      longer  waiting  period  for everyone's requests.  Please be
  319.      frugal when possible, for your benefit as well  as  for  the
  320.      other users.
  321.  
  322. QUERY PRIORITY
  323.      Please use the  ``-N''  option  whenever  you  don't  demand
  324.      immediacy,  or when you're requesting things that could gen-
  325.      erate large responses.  Even when using the nice option, you
  326.      should  still  try  to  avoid  big jobs during busy periods.
  327.      Here is a list of what we consider to be  nice  values  that
  328.      accurately reflect the priority of a job to the server.
  329.  
  330.           Normal              0
  331.           Nice                500
  332.           Nicer               1000
  333.           Very Nice           5000
  334.           Extremely Nice      10000
  335.           Nicest              32765
  336.  
  337.      The last priority, Nicest, would be used when a  job  should
  338.      wait  until  the  queue is essentially empty before running.
  339.      You should pick one of these values to use, possibly modify-
  340.      ing  it  slightly depending on where you think your priority
  341.      should land.  For example, 32760 would mean wait  until  the
  342.      queue  is  empty,  but  jump  ahead  of other jobs that have
  343.      selected Nicest.
  344.  
  345.      There are certain types of  things  that  we  suggest  using
  346.      Nicest  for,  irregardless.  In particular, any searches for
  347.      which you would have a hard time justifying the use of  any-
  348.      thing but extra resources.  (We all know what those searches
  349.      would be for.)
  350.  
  351. ENVIRONMENT
  352.      ARCHIE_HOST
  353.              This will change the host archie will  consult  when
  354.              making  queries.   (The default value is what's been
  355.              compiled in.)  The ``-h'' option will override this.
  356.              If  you're  running  VMS,  create  a  symbol  called
  357.              ARCHIE_HOST.
  358.  
  359. SEE ALSO
  360.      For more information on regular expressions, see the  manual
  361.      pages on:
  362.  
  363.      regex(3), ed(1)
  364.  
  365.      Also   read    the    file    archie/doc/whatis.archie    on
  366.      archie.mcgill.ca for a detailed paper on Archie as a whole.
  367.  
  368.  
  369.  
  370.  
  371. Archie (Prospero)  Last change: 9 January 1992                  3
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378. ARCHIE(1)                USER COMMANDS                  ARCHIE(1)
  379.  
  380.  
  381.  
  382.      Read the file README.ALEX distributed with this  client  for
  383.      more information on what Alex is and how you can take advan-
  384.      tage of it.
  385. AUTHORS
  386.      The archie service was conceived  and  implemented  by  Alan
  387.      Emtage       (bajan@cs.mcgill.ca),       Peter       Deutsch
  388.      (peterd@cs.mcgill.ca),        and        Bill         Heelan
  389.      (wheelan@cs.mcgill.ca).   The  entire  Internet  is in their
  390.      debt.
  391.  
  392.      The  Prospero  system  was  created   by   Clifford   Neuman
  393.      (bcn@isi.edu);   write  to  info-prospero@isi.edu  for  more
  394.      information on the protocol and its use.
  395.  
  396.      This stripped client  was  put  together  by  Brendan  Kehoe
  397.      (brendan@cygnus.com),  with modifications by Clifford Neuman
  398.      and George Ferguson (ferguson@cs.rochester.edu).
  399.  
  400. BUGS
  401.      There are none; only a few unexpected features.
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437. Archie (Prospero)  Last change: 9 January 1992                  4
  438.