home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / filck2_6 / filcheck.dco next >
Text File  |  1993-06-05  |  6KB  |  150 lines

  1. FILCHECK for Turbo V2 (C) Paul Baker @ The Tavern BBS    Version 2.4
  2.  
  3.            I can be contacted at the following addresses
  4.  
  5.          2:440/108.0 51:502/100.0  90:102/140.0 100:1011/0.0
  6.  
  7.                   or directly on   44-(0)81 445-6514
  8.  
  9. Based on an idea from Kevin Osborne , with thanks for Beta Testing it for
  10. me.
  11.                         ------------------------
  12.                        <| FILCHECK is FREEWARE |>
  13.                         ------------------------
  14.  
  15. Place FILCHECK.PRG and FILCHECK.RSC in your main BBS folder, running the
  16. program as it is when you first receive it will let you do the following.
  17.  
  18. What filcheck does is read your selected .FIL files , if a file is marked as
  19. available for download then it will scan the the files you actually have in
  20. that area until it finds the file.
  21.  
  22. If it doesn't find the file it will mark it as off-line in the .FIL .
  23.  
  24. If the file is found but the file size in the .FIL is different from the
  25. actual file size , then the .FIL entry will be changed to match the actual
  26. file size.
  27.  
  28. If the file is marked as off-line in the .FIL and the program finds the file
  29. on disk then it will put the file back on-line again.
  30.  
  31. If you leave 'Test All Areas' on by accident or you wish to abort half way
  32. through checking a Group of .FIL files , Hit CONTROL Q , the program will
  33. then stop scanning the .FIL files after it has completed the current one.
  34.  
  35. If you wish to run FILCHECK from a batch file , pass the parameter BATCH to
  36. it and it will automatically scan ALL the BBS's FILs' and exit afterwards.
  37.  
  38.  
  39. Configuring FILCHECK:
  40. *********************
  41.  
  42. You will notice the CONFIG button on the main Startup Screen, clicking on
  43. this will bring up a second screen, there are many options available here .
  44.  
  45. Touch Date on addition.
  46. -----------------------
  47.  
  48. If you use the auto-restore option (more about that later) or FILCHECK
  49. notices that you have files marked as off-line but they are on the drive then
  50. files will be restored to the file areas.
  51. Shold you wish the files to be given a new upload date when this happens then
  52. highlight this button , it makes the upload date the current date.
  53. You should also highlight this option if you use the Automatic Restore
  54. option (see later text).
  55.  
  56. Check For Old Files
  57. ------------------
  58.  
  59. Highlighting this will make FILCHECK count the number of days since the
  60. file was last downloaded or if it was never downloaded then since it was
  61. uploaded.
  62. If either of these values is greater than the number of days shown AND the
  63. file size in K is greater than the size shown then the files will be moved
  64. to the Folder shown
  65.  
  66. If you turn on this option but do not choose a folder to store the files in
  67. the option is ignored by FILCHECK.
  68.  
  69. Automatic Restore Folder
  70. ------------------------
  71.  
  72. If you define this folder then any files placed in that folder will be added
  73. back into the BBS if all the following conditions apply.
  74.  
  75. 1. If filcheck Scans the area where this file was placed off-line from.
  76. 2. If the .FIL entry is marked <offline>.
  77. 3. If the Name and File size are the same as the file in the folder.
  78.  
  79. It is a useful feature if you don't know where on your BBS an off-line file
  80. came from , but it is a lot slower than placing it in the right file area
  81. and getting FILCHECK to just make the file on-line again.
  82.  
  83.  
  84. Store New Files
  85. ---------------
  86.  
  87. Highlighting this will make FILCHECK add any files to the BBS that are in
  88. the current file folder it is checking if they do not have an entry in the
  89. BBS's .FIL file.
  90. Changing the default Uploader, Access Level and description will cause
  91. these values to be used in the .FIL entry.
  92.  
  93.  
  94. Logfile
  95. -------
  96.  
  97. Highlighting this option will make FILCHECK write to a logfile (FILCHECK.1)
  98. all the text that is shown in the bottom status bars as it runs.
  99.  
  100. Changing the Generation Number wil vary the number of old logs it will keep
  101. before deleting them.
  102.  
  103. If there is no path chosen then it will not store any log files regardless
  104. of what state the on/off button is set to.
  105.  
  106.  
  107. IMPORTANT :
  108.  
  109. Any options you enter via the config button will be used if you run FILCHECK
  110. under BATCH mode.
  111.  
  112. If you have two fil entries for the same file and only one actual file on
  113. your system then the second .FIL entry will be marked off-line.
  114.  
  115. Using Store New Files , if you have two files with the same name in the
  116. same download area on different drives ,but only one .FIL entry , a new
  117. .FIL entry will be added for the second file , you can then remove the
  118. second entry and one of the files will be deleted leaving you with one .FIL
  119. entry for one file.
  120.  
  121. * Please note *
  122.  
  123. I have tried to make this program as fast as possible , but each extra
  124. option you use will add a small overhead to the time taken for each scan.
  125.  
  126. To save on Disk access , the directory of each folder is now read into
  127. memory and the only disk actions after that are to check file size , scan
  128. all drives for a file that is offline to make sure it actually IS offline
  129. ,the updating of .FIL entries and the moving of files from one folder/drive
  130. to another.
  131.  
  132. There is currently room for 3000 files PER download area , if you have more
  133. than this it will not work , if so contact me and I'll see if I can increase
  134. it.
  135.  
  136. Stick with it as it will make sure your .FIL files are always up-to-date,
  137. I ran a check on the whole BBS , not only did this program find 15 files
  138. marked off-line that were actually still on the drives but it found 43 files
  139. where the .FIL entry's size was incorrect and 16 files where I had 2 .FIL
  140. entries for the same file as well as 8 duplicate files with only 1 .FIL
  141. entry.
  142.  
  143. I now run this program in my daily.bat where for nearly 2,500 files in 20
  144. directories on 11 drives it takes about 5 mins with ALL of the options
  145. running.
  146.  
  147. DISCLAIMER
  148. ----------
  149. You use this program totally at you own risk , I cannot be held resposible
  150. for any problems either directly or indirectly caused by this utility.