home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / TTUFLT20.ZIP / TTUFLT.DOC next >
Text File  |  1991-12-11  |  4KB  |  91 lines

  1.             TriTel Upload Filter v. 2.0
  2.              For Tritel v2.0 or above.
  3.                written in  Turbo Pascal  5.5
  4.  
  5.                    -by-
  6.  
  7.                 E.L. Morrow
  8.          Work of Art BBS (SysOp)     (707)465-3193
  9.          Voice Phone                 (707)465-6765 9:00am-9:00pm
  10.                          BBS Node 2    9:00pm-9:00am
  11.                          (For Validated Members only!)
  12.  
  13.   I hereby give this program to the Public Domain (yup, it's more Freeware).
  14.      Please don't do anything strange with it.  I don't need the trouble.
  15.  
  16.  
  17.   DISCLAIMER:   
  18.     It's not my fault if anything happens that you don't want to
  19.     happen when you use this program.  If you use it correctly and
  20.     the Powers that Be don't decide to cultivate a random seed in
  21.     your system when you're running this util, nothing will go wrong.
  22.  
  23.     Okay, now that that's taken care of, let's get down to business.  The
  24.   first thing you need to know, is what exactly this utility does.  Well, 
  25.   simply put, it allows you to filter out files that are older than some
  26.   arbitrary date that you set, and to be able to exclude files by their
  27.   names and by general masks (i.e.  you can use wildcards).
  28.  
  29.     This utility, in order to work, must be placed in your UPLOAD.BAT file
  30.   before anything else.  Then, you need to place a few extra statements in
  31.   the batch file.  For example, this is the batch that I run for uploads:
  32.  
  33.         UPLOAD.BAT
  34.             TTUFLT TTUFLT1.CFG %1
  35.  
  36.     TTUFLT will return a DOS ErrorLevel of 1 if the file did not make the 
  37.   cut.  It also places an entry in the CALLERS.LOG telling you *why*,
  38.   and deletes the file from the hard drive.  If a file makes it through 
  39.   this utility (which is VERY fast) it must still pass through any other
  40.   testing you have set up through the BBS.  This makes for a very secure
  41.   system that will not be receiving 'junky old files' that aren't worth 
  42.   much.  If you're wondering about the quotes, the reason I wrote this
  43.   util is because a friend of mine complained about his users sending
  44.   him files that were worse than useless.  (Smile Verne!)
  45.  
  46.   THE COMMAND LINE:
  47.  
  48.     The program requires a couple of parameters.  One is supplied by you,
  49.    in the form of a configuration file, the other is supplied by TriTel
  50.    at run-time when it calls UPLOAD.BAT.  The configuration file takes
  51.    this form:
  52.  
  53.     C:\TRITEL         <--Path to TriTel Node 1 Main directory
  54.     COM2              <--Communications Port for this node
  55.     01-01-1981        <--Oldest date an upload can be
  56.     *.arc             <--Lines #3-#500 are filenames
  57.     #1*.*             <--(wildcards ok!) that you want
  58.                   (up to 475 other masks!)
  59.                   to exclude from your system.
  60.  
  61.      The config file should be a simple text file.  You know, the same type
  62.    of thing that everybody else makes you put together and use up space on
  63.    your directory listing.  This IS required though, so just make up your
  64.    config file and stop grumbling about it! <grin>
  65.  
  66.      If you're running a multi-node system, you need to have an UPLOAD.BAT
  67.    in each main directory.  For instance, I call my second node C:\TRITEL2
  68.    and have two different config files.  One is in C:\TRITEL (my main node
  69.    directory) and the other in the node's directory.  For convenience I call
  70.    them TTUFLT1.CFG and TTUFLT2.CFG.
  71.  
  72.      It is important that the parameters be placed in the order they were
  73.    shown in the example above.  Put the name of the config file first (or the
  74.    entire path if the file isn't in the current directory) then the %1.
  75.    Without that %1 at the end, nothing will happen, so be sure to include
  76.    it.
  77.  
  78.      Umm, let's see.  You can call the config file anything you want, just
  79.    as long as you pass the name to the program when it's being run.  I think
  80.    that's about it.  
  81.  
  82.  
  83.  
  84.     IMPORTANT!!!!!
  85.         This will only work with TriTel BBS v2.0 or greater!  
  86.         Do *not* try to use it with older versions.  If you 
  87.         want to have an upload filter and are running TriTel
  88.         1.x  then look for my older version of this util
  89.         called TTUFLT10.ZIP.
  90.  
  91.