home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso
/
altsrc
/
articles
/
11189
< prev
next >
Wrap
Internet Message Format
|
1994-08-28
|
4KB
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
From: ilewisp@info.curtin.edu.au (Peter Lewis)
Newsgroups: alt.sources
Subject: wuftpd-index - SITE INDEX code for wuftpd
Date: 28 Aug 1994 15:07:42 +0800
Organization: Curtin University of Technology
Lines: 69
Message-ID: <33pd3u$3o2@info.curtin.edu.au>
NNTP-Posting-Host: info.curtin.edu.au
Summary: Support the SITE INDEX command in wuftpd
Keywords: wuftpd site index
Archive-name: wuftpd-index
Submitted-by: peter.lewis@info.curtin.edu.au
This is some very simple code to implement the SITE INDEX
command in wuftpd. The code consists of a very small C
program that maps it's parameters to a grep command to return
a search of the INDEX file, together with a small perl script
which generates the INDEX file.
If you are already running wuftpd, the installation will probably
only take you about 15 minutes. Please don't change the output
of the INDEX command, since some ftp clients parse the output
to provide a simple way of fetching files (in particular, my Mac
FTP client does this, which is how I got involved with this code in
the first place!).
Note: You may need to statically link the C code or do other standard
tricks to make the index command run when the system has chroot'ed to
~ftp.
Enjoy,
Peter.
begin 660 index.tar.gz
M'XL( )E72X ^T8:U/;1C"?[U>L;3[8Q)9E8\,T4"8TI2E3H)E I^TDI".D
MLW1!NE-/)QM3VM_>W3O9&,>AG0FDDRG'##[MX_:IO5T)&?'+[I,'7;X_\+>V
M?/SU_;[?M[]^K_IUZXD_W.QO]3?[O<'P"2$'FYM/A@^KEEME80*-(G-NN+Z#
M#LE&HSOPUHR!7QG5OV\U'VH)&_^#XY/3O</#!Y+A]WQ_<_.C\=_P!UOS^&\,
M-RC^&\,^XA](GUOK?Q[_(U484",P"8>12E,U$3(&(4=*9X$12D*H,EX %TBA
M8:15Q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GX$]
M1U6* .KNSJO/$2]?[[\"BZ!+--8\KS.&]9)E@9!-O)W#-EYT\;A%18D**?XG
MZ+9]QCM PSKAWYQMLS\68.N2H-L+7"#:(!VK@X[ G@\[T&\!OQ2FV6M5.$L'
M7UM)\!0VMN?0,4*;E8A6AE>K"IN.>AU+^!7'.Z9"MUH+@FJ6=Y68\1O_#,\D
M/RQ(>=,C8+TCZ@Y(]T93(*B_#0)VG&:X??K4.>:&49PYO7'7Z9TM'HG$A+,!
MN 4_N[&I=?S3X6&E'74XX[Q)FCG/C5O;%:(RXL_'^^%+7:[^S_NL!Y%!]?^.
M[S_]H=];_OXSV!@.'NO_9UB-6K<L=!?+5Y#:TDL=N*O7=BYD;(V:0JP,12)&
M!JZOL40G."#1\(-%:<VUYXMHRU#5=RPA:R;+J88Y2F]MC;BP&<TUSC.$B*]$
M#IVOH!,N8G":N6&*K^BD!MS;"-" ^QD"&G!O8T #[F40H'-0R4^>!?"<V330
M@",5B=%TZ2-"=4B!4W2*XR7-BCQ38_+:%-!#6J U],'(V>,&8V<EGN3,Q C*
M:@!M\MAR9H(^%%7.P,UL&&PQ%B:1T$V;7RU*M0A#5']!S%4&S#_O0 ?6:I0S
M"J/3_ ZM;D.=/ T>=,PT1QNADV,;8Z[K2T=9JHK=<EN7M>O7A=(&=BF=EUF(
M#"C-*[9)@LHW=TCL;@NH'0D3E=.E6=3>O?6ZM=HV-"#F.$2+:):)7I=";]V/
M\[-!XLK3D-6:[ZZ[K;>>99,*O'7GG@]I?']&X_NKB-Y98V8T[B5=28>E8$Z%
M^U4D6#?F)+A?1<)-."?!_9S$>K[*Q?K:;V]EG9J(,%4%M\'"GL(]6!)\TEP&
M&6^2\]NN)BR%P!',PXZ=J^%9LWY3:*I"M0L+%:9.<NCK6]-O^]6Y[06\16<J
::OJ;@\%J_&/G\[@>U^/Z4M??+"B,' > +
end
--
I'm currently in the USA visiting with Adam Engst in Seattle and
then going on to Mactivity in San Jose on the 17th and home on
the 25th, so don't expect useful responses.