home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso / altsrc / articles / 11189 < prev    next >
Internet Message Format  |  1994-08-28  |  4KB

  1. Path: wupost!sdd.hp.com!usc!cs.utexas.edu!swrinde!ihnp4.ucsd.edu!munnari.oz.au!news.uwa.edu.au!info.curtin.edu.au!info.curtin.edu.au!not-for-mail
  2. From: ilewisp@info.curtin.edu.au (Peter Lewis)
  3. Newsgroups: alt.sources
  4. Subject: wuftpd-index - SITE INDEX code for wuftpd
  5. Date: 28 Aug 1994 15:07:42 +0800
  6. Organization: Curtin University of Technology
  7. Lines: 69
  8. Message-ID: <33pd3u$3o2@info.curtin.edu.au>
  9. NNTP-Posting-Host: info.curtin.edu.au
  10. Summary: Support the SITE INDEX command in wuftpd
  11. Keywords: wuftpd site index
  12.  
  13. Archive-name: wuftpd-index
  14. Submitted-by: peter.lewis@info.curtin.edu.au
  15.  
  16. This is some very simple code to implement the SITE INDEX 
  17. command in wuftpd.  The code consists of a very small C
  18. program that maps it's parameters to a grep command to return
  19. a search of the INDEX file, together with a small perl script
  20. which generates the INDEX file.
  21.  
  22. If you are already running wuftpd, the installation will probably
  23. only take you about 15 minutes.  Please don't change the output
  24. of the INDEX command, since some ftp clients parse the output
  25. to provide a simple way of fetching files (in particular, my Mac
  26. FTP client does this, which is how I got involved with this code in
  27. the first place!).
  28.  
  29. Note: You may need to statically link the C code or do other standard
  30. tricks to make the index command run when the system has chroot'ed to
  31. ~ftp.
  32.  
  33. Enjoy,
  34.    Peter.
  35.  
  36. begin 660 index.tar.gz
  37. M'XL(  )E72X  ^T8:U/;1C"?[U>L;3[8Q)9E8\,T4"8TI2E3H)E I^TDI".D
  38. MLW1!NE-/)QM3VM_>W3O9&,>AG0FDDRG'##[MX_:IO5T)&?'+[I,'7;X_\+>V
  39. M?/SU_;[?M[]^K_IUZXD_W.QO]3?[O<'P"2$'FYM/A@^KEEME80*-(G-NN+Z#
  40. M#LE&H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#?F)+A?1<)-."?!_9S$>K[*Q?K:;V]EG9J(,%4%M\'"GL(]6!)\TEP&
  73. M&6^2\]NN)BR%P!',PXZ=J^%9LWY3:*I"M0L+%:9.<NCK6]-O^]6Y[06\16<J
  74. ::OJ;@\%J_&/G\[@>U^/Z4M??+"B,'  >   +
  75.  
  76. end
  77.  
  78. -- 
  79. I'm currently in the USA visiting with Adam Engst in Seattle and
  80. then going on to Mactivity in San Jose on the 17th and home on
  81. the 25th, so don't expect useful responses.
  82.