
Zochost is a free host script by David Rife. No warranty of any kind is given
or implied.

The latest version can be found at:
http://www.geocities.com/dcrife/freeware.html

Zochost is based on the program minihost.zrx that comes with Zoc for Windows;
however, Zochost has many additional features.

FEATURES

Two user levels are provided, normal and administrator.  The administrator
can execute all functions.  Normal callers have a limited command menu.

All names, passwords, home directories, and caller levels are in a separate
configuration file.  Four other items are also in the file: public directory
path (e.g., \host), valid drives (e.g., CD), the starting drive (e.g., C:),
and the host name.  The order of lines in the file is not important.

When Zochost starts, it searches for the lines in the configuration file that
start with "pub_dir=", "cur_drive=", "valid_drives=", and "host_name=" to
learn the public directory, current drive, valid drives, and host name,
respectively.

Zochost searches the configuration file for name and password matches when a
caller logs in.  A caller is allowed three tries to give a password that is
associated with the caller's name.

The host name is sent to callers after they have given a valid password.

All callers can change directory (CD command).  The CD command switches
normal callers between their home directory and the public directory.  The CD
command allows admin callers to change any other valid drive and directory.
For directories on the current drive, only the path need be input; e.g.,
"\host". Zochost checks for a valid directory when a caller uses the CD
command.

The public directory is a place to keep files to which all callers should
have access.

Kermit and Zmodem uploads and downloads are supported.

Files are transferred to (uploaded to) the current directory.  Files from
normal callers may overwrite files in their home directory but not in the
public directory. Files from admin callers will overwrite duplicate files in
any directory.

File downloads are batch; the caller is prompted for a list of files to
download.  Warning: since the file download routine calls Kermit or Zmodem
for each file, do not attempt to disconnect after a file transfer
(disconnect will occur after the first transfer).

All callers may type a file to them.  Files whose name extensions are .dll,
.exe, .com, and .zip are prohibited; the caller is warned.

Admin callers may copy, erase, or rename a file, and they may create and
remove directories.

The admin caller commands are:

  BYE or G        Goodbye
  CAP             Capture mode on
  CD   [path]     Change directory
  CLS             Clear callers screen
  COPY            Copy a file
  DEL  [file]     Delete a file
  DIR  [filespec] List files
  H               Shutdown host
  LOGON           Log on again
  MD   [name]     Make directory
  RD   [name]     Remove directory
  REN  [file]     Rename a file
  TYPE [file]     Type a file
  RK              Upload files from you using Kermit
  RR              Upload files from you using Zmodem resume
  RZ              Upload files from you using Zmodem
  SK   [file]     Download files to you using Kermit
  SZ   [file]     Download files to you using Zmodem

Normal callers may use the following commands:

  BYE or G        Goodbye
  CD              Change directory
  CLS             Clear callers screen
  DIR  [filespec] List files
  LOGON           Log on again
  TYPE [file]     Type a file
  RK              Upload files from you using Kermit
  RZ              Upload files from you using Zmodem
  SK   [file]     Download files to you using Kermit
  SZ   [file]     Download files to you using Zmodem

INSTALLATION

The Zochost archive, zochost.zip, contains this file, the script file, and a
script to edit the configuration file using notepad.  Put all three files in
the Zoc script directory.  You may want to assign execution of editpwd.zrx to
a key, to facilitate editing the configuration file.

Zochost will create a sample configuration file the first time the script is
used.  After the configuration file is created, you may use Zochost with the
default configuration or exit Zochost and edit the configuration file, which
will be in the Zoc script directory.  You may use the script editpwd.zrx to
invoke notepad.

Make sure each password line consists of the following four fields, separated
by semicolons, as shown below.  Case, upper or lower, does not matter.

    username;password;directory;mode

username        e.g., John Smith
password        e.g., mysecret
directory       e.g., \host
mode            0 for normal, 1 for admin


This file edited 15:40  Monday, 8 September 2008.
FF command removed 17 September 2009.
Kermit added 03-28-2009

