home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
CHECK30.ZIP
/
CHECKUP.DOC
< prev
next >
Wrap
Text File
|
1995-01-04
|
8KB
|
166 lines
CheckUp For GAP
GAP BBS File Upload Utility
(c)1993-1994 No Anchovies
Written By Frank Capo
*** SEE FILE 'UPDATE.DOC' FOR ADDITIONS/CHANGES TO THESE INSTRUCTIONS ***
OVERVIEW
--------
CheckUp is designed to check uploads on GAP BBS systems. It performs
archive integrity checks, virus scans, duplicate checking, description
file (FILE_ID.DIZ - DESC.SDI) reformatting and insertion, archive
comment insertion, BBS advertisement deletion, and also checks for
out-dated files as well as GIF graphics integrity.
As of version 2.8, CheckUp will NOT check nested archives. This may be
added later.
CheckUp needs approximately 530k free memory to run from GAP. This
memory requirement is due to the fact that CheckUp calls virus scanning
software which usually needs 350-400k free. CheckUp itself needs only
150k. It has been tested with McAfee's Scan v2.0 under the above
conditions.
Also, until I get an updated programming library I used to write
CheckUp, it will only support baud rates up to 57,600. The author claims
it supports 115,200 now but my testing proves otherwise. You can try
CheckUp at 115,200. If it works, let me know. Otherwise, it's stuck
at 57,600 or below until I get an updated COM port routine.
CheckUp can also be used locally from GAPFILE's "Stray Files" function.
Simply set the stray files "Batch File Name" to UPCHECK.BAT and turn OFF
the "DOS Window".
********************************************************************
*** Make sure you have PKZIP.EXE, PKUNZIP.EXE, LHA.EXE, ARJ.EXE, ***
*** and GIFTEST.EXE somewhere in your path. ***
********************************************************************
If you choose not to have certain types of files on your system, you will
have to perform this operation prior to calling CheckUp. You can have
UPCHECK.BAT check for the type of file before calling CheckUp. If the
upload is not an archive, CheckUp will perform it's other operations.
CONFIGURATION
-------------
Create a subdirectory for CheckUp. I call mine C:\CHECKUP. Place
CHECKUP.EXE in this subdirectory. Make a configuration file in this
subdirectory. Call it anything you wish. I call mine CHECKUP.CFG.
Here's what CHECKUP.CFG should look like:
1> C:\GAP <- Path to DOOR.SYS
2> No Anchovies PC <- Your BBS name
3> REGNUMBER=0000 <- Your registration number
4> WORKDIR=T: <- Work drive letter for CheckUp
5> VIRUSPGM=SCAN #F# /NOMEM <- Virus scan command line (SEE BELOW)
6> OLDFILE=01/01/1988 <- Old file date (Note 4 digit year)
7> BADFILE=C:\BADUP <- Directory to move rejected files
8> PORTIRQ=0 <- COM port IRQ (0 if standard)
9> PORTADDRESS=0 <- COM port address (0 if standard)
NOTE : Words to the LEFT of the equals sign (=) must be EXACTLY as they
appear above (lines 3 through 9).
ALSO NOTE : You must have GAP configured to write a DOOR.SYS file at
logon. See GAP documentation.
Line #1 is the path to GAPBBS.CNF. Check needs info from this file.
Line #2 is your BBS name - CASE SENSITIVE.
Line #3 is your CheckUp registration number. CheckUp will not perform
duplicate file checking unless it's registered (SEE BELOW).
Line #4 is the drive letter (with colon) that CheckUp will use as a work
drive. This may be a RAM disk - but make sure you have a couple of megs
there for large uploads. CheckUp will create a subdirectory on this
drive and do it's work there.
Line #5 is the virus program's command line. The sample above will work
with McAfee's SCAN.EXE v2.0. This command line uses a '#F#' parameter
to pass the file name to the virus program. If you use a program other
than McAfee's, place a #F# on this command line where the file name should
be. Be sure that your virus program can run in a "batch mode"
otherwise, CheckUp's operation will be stopped waiting for user input.
Line #6 is the date of the oldest file you will allow CheckUp to pass.
Note that all 4 digits of the year are used.
Line #7 is the directory where you want CheckUp to move files that fail
any of the checks. Make sure this directory exists and it's NOT the root
directory of any drive.
Line #8 is the COM port IRQ. If you're using a non-standard IRQ, place
the IRQ number here. Otherwise use zero.
Line #9 is the COM port base address. If you're using a non-standard
COM port base address, place it here. It MUST be a hexadecimal number.
Otherwise use zero.
CheckUp is called from GAP's UPCHECK.BAT file. You'll need to edit your
UPCHECK.BAT file to look something like this:
1> @echo off <- standard procedure
2> c:\ <- here too
3> cd \checkup <- change to CheckUp dir
4> checkup checkup.cfg %1 %2 %3 %4 %5 %6 <- run CheckUp (SEE BELOW)
5> cd \gap <- back to GAP
Line #4 above calls CheckUp. There are 7 parameters. The 1st is the
name of the conguration file. Leave the %1 through %6 as is.
UNWANTED FILES
--------------
If you wish to have CheckUp scan for and delete unwanted files (BBS ads
for example), create an ASCII file named BBS.ADS in CheckUp's directory.
Place unwanted file names in this file - ONE FILE NAME PER LINE. If
CheckUp finds any of these files, it will delete them.
COMMENT INSERTION
-----------------
CheckUp will place or replace comments in archives. Simply create a file
called COMMENT.TXT in CheckUp's directory. CheckUp will place the text
of this file in the archive's comment field. This function of CheckUp
calls the various archive utilities (PKZIP, ARJ, etc) so these must be
somewhere on your system in your path.
DUPLICATE FILE CHECKING
-----------------------
If (when?) you register CheckUp, it will perform duplicate file checking
based on a series of data files that it finds in it's directory. Using
these "binary" data files makes CheckUp VERY FAST at checking for dupes.
I have 13 CDROM data files that CheckUp scans for dupes and it takes
less than 5 seconds. This function is primarily for checking CDROMs but
it could be used for other files in other directories as well. Since
I haven't yet released a utility that creates these data files, you'll have
to rely on me to create them for you. If you register, I'll be glad to
help you set up the dupe checking and create any data files you may need.
FINALLY
-------
CheckUp is not written to be "all things" to all sysops. It performs
the way it does to suit my purposes. One of the problems I encountered
when writing CheckUp was the memory limitation when calling the virus
scanner. In order to have enough free memory, CheckUp's code must remain
small. I may issue updates as I see fit. The current version as of this
writing has been in operation on my BBS for almost 1 year and works well.
Registration for CheckUp is only $10.00 (US). You can register by mail,
or use the TABS system or a credit card on No Anchovies BBS.
Frank Capo
No Anchovies PC
1205 Lake Avenue
Ashtabula, OH. 44004
No Anchovies BBS : 216-466-1151/1152/1153 HST Duals