home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
BBS_UTIL
/
BM0406_A.ZIP
/
DOCS.ZIP
/
WILDCARD.DOC
< prev
next >
Wrap
Text File
|
1994-04-01
|
5KB
|
125 lines
BusiMods (tm) Wildcard File Downloading
Implementation
BMxxxx
03/26/94
The original Wildcard download for RBBS was written by Richard Todd as an
enhancement to the Maple modified RBBS. In the BusiMod (tm) version, the
original code has undergone extensive changes which give it additional features.
In order to implement wildcard downloading in the BusiMod (tm) version of
RBBS, you must create a configuration file located in the same directory
that you told CONFG that your FIDX.DEF file is located (param. #267). The
name of the configuration file is the same prefix as your file index file
(the FIDX file) plus the extension .CFG. So, the naming convention would
be as follows:
If you told CONFIG that the <path>\<name> of your file index file (param #267)
is: C:\RBBS\DIR\FIDX.DEF
then the <path>\<name> of your wildcard configuration file would be:
C:\RBBS\DIR\FIDX.CFG
RBBS/BM will look for this file, and, if found, permit wildcard searches for
downloading. The contents of this configuration file is as follows:
Line 1 : Maximim files to display , number of valid directories in your LIDX.DEF
The maximum files to display to the user will default to 100 if you set it
higher than 100. You can set lower.
The number of valid directories in your LIDX.DEF file refers to ALL directoies
that can be downloaded from. Since you can also have pointers to macros to
be displayed when certain files are selected, we don't want to display these
files. When creating you LIDX.DEF file, be certain to have all downloadable
directories listed first, then the macros. In my FIDX.CFG file the first
line contains the following:
100,21
My system will show the first 100 matches to the input search string, and
the first 21 lines of my LIDX.DEF file are vaild downloadable directories.
Line 2 on down in the FIDX.CFG file contains the following:
<security leve> , <drive>\<path>
The security level is the minimum security level that can search the directory
for matching files. The <drive>\<path> is a directory to search. You can have
as many lines, one after the other, as you want directories searched. If you're
running a Fast File Search (FFS) system, you really don't need any entries here
other than your upload directory (if you allow uploads to be downloaded) since
all files will be listed in your FIDX.DEF/LIDX.DEF FFS system files. If you
are not running the FFS, then you would list all the directories you have
listed in CONFIG param #208 as download directories, plus any others you may
want to list. Use caution here...the directory will be physically searched
if the user has the security level to search it.
So a sample FIDX.CFG file for a fast file search system would look something
like the following:
100,21
5,K:\RBBS\FILES\UPLOAD
A sample FIDX.CFG file for a non fast file search system might look something
like this:
100,10
5,K:\RBBS\FILES\UPLOAD
5,J:\RBBS\FILES\MISC
5,J:\RBBS\FILES\UTIL
5,I:\RBBS\FILES\OS2
5,I:\RBBS\FILES\WINDOWS
5,H:\RBBS\FILES\GAMES
5,G:\RBBS\FILES\BBS
5,G:\RBBS\FILES\BBS\DOORS
5,G:\RBBS\FILES\BBS\MERGES
How the fast file search works is like this. The user can stack files and
search strings in any order at the RBBS files system prompt. When RBBS/BM
comes to the wildcard string (which has the "*" character at the end or
beginning), and wildcards are permitted, it will then process that request.
All matching files to the string, found thru searching the listed directories
and/or the fast file system, up to the maximum allowed by the SysOp, will be
displayed to the user. The user can then mark the files from the list by
entering the corresponding number to the file or a sequential group of numbers
by placing a hyphen between two numbers (ie: 1-5 3-10 1-10 etc).
After marking the files for download, RBBS/BM will then continue on to process
all the other files/wildards in the list. The user also can add files already
marked for download to the list and can stack the protocol and request to
auto-logoff as with stock RBBS.
An example would be:
FILE Command: D ALLFILES.ZIP BM0306* ECHO.ZIP #1BS* TIDY.ZIP Z /G
This would process the request for a file named ALLFILES.ZIP, then process
the wildcard search for all files matching the search string "BM0306", add
all the files that the user selects from the files matching the wildcard
search string, then process the request for the file ECHO.ZIP, then process
the wildcard search for all files matching the search string "#1BS", add all
the files that the user selects from the files matching the wildcard search
string, proecess the file TIDY.ZIP and send all files (including those files
selected from the wildcards) using Zmodem (batch) and auto-logoff upon
successful completion.
When in non-expert mode, or when the "H" or "?" command is issued while at
the wildcard prompt, the WILD.MNU (located in your main RBBS directory) will
be shown to your users to assist them.
Richie