home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
upchek_b.lzh
/
Upchek.cfg
< prev
next >
Wrap
Text File
|
1993-08-26
|
8KB
|
184 lines
%
% Upchek.cfg (beta)
% August 25, 1993
% Kim Bergman
%
% Upchek.cmd will look for this file, Upchek.cfg, in the directory that
% Upchek.cmd executes from. Copy Upchek.cfg to that directory, usually
% your Max directory.
%
% Lines that begin with the % character are comments and will be ignored
% by Upchek.cmd.
%
% The format of this config file is fairly standard and should be
% familiar to most Maximus sysops. Each of the Option Lines
% (non-commented lines) below sets an option within Upchek. Each Option
% Line is of the format:
%
% <keyword> <option>
%
% where <keyword> is some more or less intuitive, single word
% description of what the option does and <option> is a single word that
% defines the option. You must not edit the keyword itself, just the
% option.
%
%
% Keywords and options are case insensitive. There must be at least one
% space between the keyword and option and several spaces is OK. Spaces
% before the keyword and spaces and other characters after the option
% word are ignored.
%
%
% BADACT toggles the action Upchek takes when it finds a bad upload.
% Valid values for badact are Move, Delete and Rename. A bad upload is
% one that:
%
% 1. is/contains a corrupted archive
% 2. the virus scanner thinks contains a virus
% 3. causes the scanner to crash
% 4. has an extension that appears in the list of bad extensions you
% define below.
%
% If you use Move then Upchek will move the bad file from the home
% directory (the % directory it was uploaded to) to a directory defined
% by BADPATH. If you use Delete the file is deleted. If you use
% Rename then the file is renamed by prefixing the name with "bad" and
% leaving it in the upload directory. Uncomment one of the following
% lines.
%
Badact Rename
% Badact Move
% Badact Delete
%
%
% LISTSCAND allows you to toggle additional information lines in the log
% file generated by Upchek. It can have one of 2 values: True or False.
% If True then all non-archive files inside an archive are listed in the
% log. If False, only the name of the file given to Upchek for
% processing shows in the log file. Uncomment one of the following 2
% lines.
%
Listscand True
% Listscand False
%
%
% WORKDIR is the pathname of a temporary work directory that Upchek will
% create, use and delete as necessary. Use an odd name for this
% directory, something neither you nor other programs are likely to use.
% Don't copy files to this directory unless you want them to disappear
% quickly. On multi-line systems Virchek will append the node number to
% the directory name when it creates the temporary directory. Uncomment
% the line below and edit the path to whatever suits your directory
% structure. Your Max directory is a good directory for the work
% directory to be created in because you will not likely delete it in the
% future. You do not need to create the work directory yourself,
% Upchek.cmd will create and delete it as required.
%
Workdir e:\max\scn$$
%
%
% TEMPFIL1 and TEMPFIL2 are paths + filenames of 2 temporary work files
% that Upchek.cmd creates, uses and deletes as necessary. Use any
% directory and filenames that suit your directory structure. Of course
% the directory shouldn't be one that you might need to delete later. Do
% not use the temporary work directory designated by WORKDIR (above)
% either. You must define both TEMPFIL1 AND TEMPFIL2.
%
Tempfil1 e:\max\tmp$$
Tempfil2 e:\max\tmp$$$
%
%
% LOGFILE is the path + filename of a text file to which Upchek.cmd will
% write its sysop report. Since Upchek appends reports to this file
% rather than overwriting it you could probably use your Maximus log
% file. I haven't tried that yet but it should work.
%
%
Logfile e:\max\upldlog.txt
%
%
% OPTSFILE is the path + filename to a text file that contains parameters
% (options) read by OS2SCAN when it runs. Consult the OS2SCAN docs for
% information on what can and should go into this file. The parameters
% in the supplied Scanopts.txt cause OS2SCAN to run with no pauses
% which is important if you are going to use Upchek.cmd with Maximus.
%
Optsfile e:\max\scanopts.txt
%
%
% BADPATH is the incomplete path (without a drive letter) to the
% directory that you want Upchek to move bad uploads to. For speed,
% OS/2's MOVE command is used rather than COPY followed by DEL.
% There is one drawback to MOVE which is that a file cannot be moved from
% one drive to another. You can MOVE only to a different directory on
% the same drive. This restriction is reflected in MOVE's syntax and
% therefore in badpath's syntax too. The path assigned to badpath must
% not begin with a drive letter because the drive is understood to be the
% same drive that the bad file is on. The path must start with a "\" but
% should not end with a "\" character.
%
Badpath \max\file\baduplds
%
%
% FULLBADPATH is the complete path to the directory that you want Upcheck
% to move bad uploads to. This path must end with a "\" character. You
% must create this directory yourself since Upchek will not create it for
% you. The keywords BADPATH and FULLBADPATH may seem repetitious but
% it's required.
%
Fullbadpath e:\max\file\baduplds\
%
%
% DOORFILE is the path + filename of the drop file (door file) that
% Upchek reads. The default is e:\max\chekdoor.sys. If you want to use a
% different path + filename for the drop file then you must edit the
% supplied Cdoor.mec appropriately. Upchek does not require the drop
% file when used in local mode, it is required only when Upcheck.cmd is
% invoked by Maximus. Non-sysops can leave the following line commented.
%
Doorfile e:\max\chekdoor.sys
%
%
% MAXDIR is usually the pathname to your Max directory, i.e. the
% directory in which Maxp.exe resides. Upchek.cmd sets the current
% directory to this directory just before it exits. If you prefer to
% have Upchek.cmd exit to some other current directory then define
% Maxdir accordingly.
%
Maxdir E:\Max
%
% DISCOURAGE allows you to define aspects of the message callers
% receive when they upload a restricted file (one with a bad extension).
% If DISCOURAGE is True then the caller will receive a message
% explaining:
%
% 1. which types of files should not be uploaded to your system
% 2. that they have upoaded is one of those types.
%
% If DISCOURAGE False then callers will receive no message concerning
% restricted files. The discourage setting has no effect upon whether or
% not your system screens files based on file extensions.
%
Discourage True
% Discourage False
%
%
% RESTRICTED is a list of restricted file extensions. The list is a
% string of extensions seperated by commas as in the list below, no
% periods, case insensitive. If you do not want to restrict any file
% types files then leave this line commented. Uploads that are
% restricted will be either deleted or moved depending on the option
% you select for BADACT.
%
Restricted Gif,voc,Fli,piC
%
%
% The Badact, Discourage and Restricted options provide flexibility in
% what you do with restricted files and what you say to callers when they
% upload one. If you do not allow certain file types to be uploaded and
% want to say so to callers who upload those types then you should use
% a RESTRICTED list, DISCOURAGE True and either BADACT Move or BADACT
% Delete. If you accept all file types but want to be warned when
% certain types are uploaded then use a RESTRICTED list and DISCOURAGE
% False.