Notes on the RemoteAccess 2.00 File Database
--------------------------------------------
RemoteAccess 2.00 introduces a completely rewritten file handling system.
All file information is held in database files; the FILES.BBS system is
now obsolete. RemoteAccess uses the database for all aspects of file
retrieval; the actual file itself it not accessed until download time.
This means that file searches are now faster by several hundred percent,
especially with CD-ROM file areas.
The limits on the database are as follows:
Maximum number of file areas : 65535
Maximum number of files per area : 65535
This means that if a file is on disk but not in the database, RemoteAccess
will be completely unaware of its existence. It is therefore important that
your file database (referred to as FDB onwards) is kept up to date. There
are new utilities described in this document which assist you in this.
(NOTE: There are two exceptions to the above rule. The first is if there is
a wildcard entry in the FDB. In this case, RemoteAccess will expand
the wildcard for each matching file and display separate entries for
each match found. The second is described in the section on RACONFIG
under MANAGER.FILE AREAS.DirectDL.)
One notable change in behaviour is that a file search by date is now based
on the UPLOAD date, *not* the actual FILE date. Bear this in mind if you
"touch" file dates to make them appear as new.
As a side note, you will notice that during downloads, the transfer status
window now displays a double progress bar. The top bar represents the
progress of the current file, while the bottom bar represents the progress
of the entire batch. Other enhancements to the transfer window include a
progressive CPS indicator.
UPGRADE NOTES
-------------
Upgrading is largely automated. First run RACONFIG; it will update most of
the new configuration fields for you. Go to the PATHS menu and enter a path
to hold the new database files (on systems with large filebases you will
require a few megabytes). Briefly run through the new fields in RACONFIG
(see the section towards the end of this document for more details) and set
the new options to your requirements.
Exit RACONFIG and run GENFBASE to generate the database files.
IMPORTANT! If you have ANY files-related menu types (except DOWNLOAD SPECIFIC
FILE and DOWNLOAD ANY FILE) for which you have a fully qualified path on the
optional data line, you must replace the path with either a /F or a template
area number. Obviously you will need to define these areas in RACONFIG if they
are not already defined.
OTHER UTILITIES WHICH RELY ON FILES.BBS
---------------------------------------
..May still be used via the RAFILE IMPORT and EXPORT commands. If you use
programs which add entries to FILES.BBS (TICK, for example), simply use the
RAFILE IMPORT command every time the utility is run. RAFILE will import any
entries which do not exist in the FDB. Similarly, RAFILE EXPORT may be used
to generate FILES.BBS for programs such as master file list generators etc.
GENFBASE.EXE
------------
This utility is used to generate the FDB files from one or more conventional
FILES.BBS lists. It has no command-line parameters, and asks a couple of
self-explanatory questions. Normally you would only ever use this utility
once. It is also useful however for generating FDB files from new CDROMs.
If you select the file counter import option, you will be asked for a file
counter position number. This is the column number that the first digit of
your file counters start at. Note - not the delimiters (such as a bracket),
GENFBASE needs the start column of the actual number.
GENFBASE also allows you to specify the column which the file description
begins in. For the standard FILES.BBS format which contains only filename
and description, select the default of zero.
If you instruct GENFBASE to expand wildcards it will expand all wildcards
found in FILES.BBS and create separate entries in the FDB for each matching
file; otherwise, wildcard filenames will be imported "as is". Any FDB entry
which contains a wildcard will be searched on disk by RA for matching files
in all file search/list functions. Note that RA will never search the disk
*unless* an entry does contain a wildcard.
GENFBASE automatically strips leading '+' and '|' characters from multi-line
file descriptions.
RAMGR.EXE
---------
This is the interactive FDB management utility (it now also incorporates the
user editor that was previously part of RACONFIG). RAMGR is menu-driven, and
most options are self-explanatory. It has five optional command-line
switches:
/B - Run in monochrome (black and white) mode.
/N - Ignore any missing file area paths (normally RAMGR will not
allow you to enter a file area which has an invalid path).
/F - Edit files only (bypass main menu).
/U - Edit users only (bypass main menu).
/A - Auto-update mode (file editing). Forces an automatic update
of all files when an area is entered.
RAFILE.EXE
----------
RAFILE is the FDB batch maintenance utility. It is completely command-line
driven:
ADD [uploader_name] [description]
INDEX [area#]
CLEAN [area#] [/KM]
COMPRESS [area#]
EXPORT [area#] [output file]
IMPORT [area#] [input file] [/ERASE] [/Uuploader_name]
KILL [area#]
LOCK [area#]
UNLOCK [area#]
FILELIST