home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
FDOOR16.ZIP
/
FILEDOOR.DOC
< prev
next >
Wrap
Text File
|
1988-10-15
|
5KB
|
139 lines
*************************************
* *
* File Door *
* v 1.6 *
* *
* *
* Written by Anthony Li for use *
* as a SearchLight BBS door *
* *
* *
*************************************
The documentation is brief and poorly structured, but the program's free, so
enjoy.
Introduction
------------
The purpose of the File Door is to allow the shareware version of the
excellent SearchLight BBS to support extended file transfer protocols. The
File Door uses only a small subset of the commands found in SearchLight's
file system. But, it's enough to get the file transfers running...
The File Door is compatible with Zephyr ANSI (ZANSI.SYS)! If you have ZANSI
installed, no output will be sent to the remote terminal. You must have
have ANSI.SYS installed.
Configuring the File Door
-------------------------
I tried to keep the number of files that the File Door uses to a minimum.
The File Door uses these files:
*.DIR -- Your file directory lists
CONFIG.BBS -- SearchLight's configuration file
FILEDOOR.CFG -- File Door's configuration file
FILEDOOR.ANS -- ANSI intro screen (optional)
FILEDOOR.TXT -- Text intro screen (optional)
FILEDOOR.EXE -- The program
The File Door's configuration file, FILEDOOR.CFG must be located in the same
directory that you run the File Door in. The file must be in the format:
-----------------------------------------------------------------------------
<BBS program path>[;NO LOG]
<protocol-description>;<path>;<u/l-command-line>;<d/l-command-line>
:
<protocol...>
-----------------------------------------------------------------------------
You may optionally disable logging of file transfers by including the line
";NO LOG" after the <BBS program path>. Otherwise, the File Door keeps
track of all uploads and downloads, writing them to the file FILEDOOR.LOG.
In the upload-command-line and the download-command-line, you must specify
the filename using %FILE. When the File Door runs the protocol, it replaces
the string %FILE with the name of the file to transfer.
Example:
--------
C:\BBS
ZModem;C:\BBS\DSZ.COM;rz %FILE;DSZ.COM sz %FILE
Kermit;C:\BBS\KERMIT.EXE;get %FILE;KERMIT.EXE send %FILE
To add the File Door to your DOORS.DEF file, add the line:
-----------------------------------------------------------------------------
1;0;1;0;File Door;<path>;FILEDOOR.EXE %G %F %M %N
-----------------------------------------------------------------------------
Addition to FILEDIR.DEF:
-----------------------
You can now specify that a file directory is read only (only downloads), write
only (only uploads), or read/write (both uploads and downloads are allowed).
You can do this by adding an additional parameter to the end of the directory
entry in your FILEDIR.DEF file. If the entry contains an uppercase "R",
it is read only. If it contains an uppercase "W", it is write only. If it
contains both "R" and "W" it is readable and writeable. If the entry is not
present, File Door assumes it is both readable and writeable.
Example:
--------
UPLOADS;0;C:\BBS\UPLOADS;Newly uploaded and untested files;Write only
PRINTER;5;C:\BBS\PRINTER;Printer programs;RW
UTILITY;5;C:\BBS\UTILITY;DOS Utilities
PROGRAM;5;C:\BBS\PROGRAM;Programming languages;R
The first directory (UPLOADS) can only be uploaded to.
Files can be uploaded and downloaded from the second directory (PRINTER).
File Door assumes the third directory (UTILITY) is also read/write.
Only downloads are allowed in the last directory (PROGRAM). NOTE: This
technique is useful for forcing uploads into a specific directory.
Additional FILESx.TXT/ANS:
--------------------------
You can now have text files displayed for each file area, instead of just
one FILES.[ANS/TXT]. The filename for area "A" is still FILES.TXT, but you
can have a FILESB, for file area "B", a FILESC, for file area "C", etc.
(With the [.TXT/.ANS] extension, of course.)
The text file for area "A" is not displayed. Instead, FILEDOOR.TXT/ANS is
shown. The next time the user jumps from another directory into directory "A",
the FILES.TXT file is shown, if it has not been shown before in SL's file
section.
Known bugs:
-----------
Passwords don't work properly yet. (Leave me mail if anybody needs 'em...)
Changes from version 1.5:
-------------------------
The upload-download ratio checking routine has been fixed.
The program now credits uploads and downloads to the user's account.
The searching routine for making sure a file to be uploaded is new to the
board has been improved.
Anthony Li
SysOp of the Brain Storm BBS!
(301) 384-5960