home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / programme / trionbbs110 / Trion / docs / Utils / checkfilebase.doc < prev    next >
Encoding:
Text File  |  1998-10-06  |  3.6 KB  |  109 lines

  1.  
  2.  
  3.  
  4.    =====( CheckFileBase V1.10 )=======================================
  5.  
  6.  
  7.         Trion 'CheckFileBase' Utility.
  8.  
  9.         (c) Copyright Paul Spijkerman, '96-'98. All rights reserved.
  10.  
  11.         Written for use with the Trion BBS package.
  12.  
  13.  
  14.    ===================================================================
  15.  
  16.  
  17.    CheckFileBase is a Utility mainly to fix problems in
  18.    your filebase fully automatically without the sysop
  19.    having to edit or remove files.
  20.  
  21.    It can do a scan first just indicating wath the
  22.    problems are without changing anything.
  23.  
  24.  
  25.    It can check and correct the dates of files, if a file is
  26.    Uploaded 'in the future' .. if the date is in the future it
  27.    can change the date to now. (this can happen when bulkupload
  28.    uploads files with a wrong datestamp or some programm
  29.    has changed your clock (demos or games)).
  30.  
  31.    It can check and correct file sizes, it checks if the size
  32.    of the fysical file is the same as the number for the
  33.    file size in the file catalogue.
  34.  
  35.    It can check if there is a fysical file for every
  36.    file catalogue entry and remove the entry from
  37.    the file catalogue if there isn't a file.
  38.  
  39.    It can set the validate flags on files so you don't
  40.    have to validate all new files by hand.
  41.    Files have to be validated (checked after upload)
  42.    before users can download them (unless you have
  43.    a sysop level).
  44.  
  45.    It can check if files are in the GlobalIndex and
  46.    remove them if they are not in the GlobalIndex.
  47.    Every file had an entry in the file catalogue with
  48.    a lot of information .. but also every file has a short
  49.    entry in the globalindex, this is needed for very quick
  50.    access to the file catalogue if it has to be downloaded
  51.    or if there has to be checked if a file exists yet
  52.    (while uploading for instance) .. because the file
  53.    is sorted on name and the TrionRM has an index in memory of
  54.    the characters the names start with it can get the
  55.    position in the file catalogue of the file in a split second.
  56.    So if a file is for some reason not in the global index,
  57.    this can cause problems (it can be uploaded twice and
  58.    not be downloaded).
  59.    CheckFileBase can remove files which are not in the
  60.    GlobalIndex file.
  61.  
  62.    It can remove files older then a certain number of days,
  63.    if you for instance only allow files to be on your
  64.    BBS for one month then you can delete files older
  65.    then 30 days by using the O optione and put a number
  66.    on the command line.
  67.  
  68.  
  69.    You can use the folowing commands with CheckFileBase:
  70.  
  71.      L  = Scan only, don't change a thing.   (scans faster then 'I')
  72.      I  = Scan also if file in GlobalIndex.  (not in 'L' scan mode)
  73.  
  74.      T  = Correct time and dates.
  75.      S  = Correct size.
  76.      P  = Check if file is present.
  77.      V  = Validate file.
  78.      K  = Check if file in GlobalIndex. (remove if not)
  79.      O  = Remove files older then a given number of days.
  80.      A  = All of the above.
  81.  
  82.    Also it has a vew options:
  83.  
  84.     -Q  = Quiet operation.
  85.     -D  = debug.
  86.  
  87.  
  88.    (Note that it can be usefull to redirect the output from
  89.     the programm to a file in RAM: to check what exactly
  90.     was fixed and changed).
  91.  
  92.  
  93.     The 'L' command scans all problems but not if files are
  94.     in the global index, this mode is the fastest.
  95.  
  96.     The 'I' command scans all problems including if files are
  97.     in the global index, this mode is a little slower
  98.     but still pretty fast (compared with bulkupload or
  99.     RMCommander).
  100.  
  101.     If you don't want to scan but fix things you can use a
  102.     number of commands .. or just use command 'A' to do
  103.     all of them. Things will only be fixed if you use the
  104.     corresponding command.
  105.  
  106.  
  107.  
  108.  
  109.