BatchModeInternetSuite V1.2
(C) 1997 Antti Karjalainen
Program is FREEWARE and can be freely distributed.

Introduction:
=============

Have you ever wanted to automatize your FTP, SMTP or POP3 actions. But you
haven't found suitable software to do this. But now you can. You can run
these internet protocols without humancontrol whenever you want. And you can
also time other programs to run whenever you want. This software runs only in
Windows 95 and Windows NT 4.0.

Requirements:
===============
- Windows 95 or Windows NT 4.0
- Dial-Up-Networking must be installed, nevertheless you want to use 
  only LAN-type connection.

Installation issues:
====================

Run setup.exe to install the software. Read text down below before installing.

About Borland Database Engine Alias (important):
================================================

This software uses Borland Paradox databases. You must have Borland Database
Engine installed in your machine. Read text down below, so you know what to do.

If you didn't let the install program to install Borland Database Engine, i
suppose that you have 32bit BDE already installed in your computer. So now you
have to create Paradox(Standard) database alias called BMISUITE, which points
to directory, where you installed this software. You can create alias with
program called BDECFG32.EXE. Look this program's help, how to create
this alias.

If you did let the install program to install BDE, this alias is already created
for you. So you don't have to do anything, just run the programs. NOTE: If you
try to run programs and you get error message like this: "An error occured while
attempting to initialize the Borland Database Engine (error $2108)." You must
manually add or edit the following Registry Database key: 

HKEY_LOCAL_MACHINE\SOFTWARE\Borland\Database Engine\DLLPATH

It's value must be one of the following:

empty (so it tries to find DLL's from install directory), (try this first)
[drive letter]:\Program Files\Borland\Common Files\Bde, (and then this)

Look your Registry Database Edit program's help how to add or edit keys. Program
is called REGEDIT.EXE (Windows 95) and REGEDT32.EXE (Windows NT).

About Borland Database Engine's date separator (important):
===========================================================

Check that in My Computer\Control Panel\Regional Settings\Date the
"Date separator" field has same value than in BDECFG32.EXE\Date the
"SEPARATOR" field. Otherwise you could get problems with programs.

About upgrading (important):
============================

Upgrading procedure is following:

1) If you haven't already, create backup directory for current database-files for
   example c:\bmiold
2) Copy current database-files from install directory to backup directory. Files
   to be copied are following: ftp.db, ftp.px, smtp.db, smtp.px, pop3.db,
   pop3.px, timer.db and timer.px.
3) Do upgrade (install new version of software over current one)
4) If definition of some database(s) has changed in upgrade version, you have to
   use bmconv.exe to convert from old database(s) to new one(s). Definition
   changes are allways mentioned in "Version information"-section at end of this
   readme. Convert procedure is following:

   a) If you haven't already, create Paradox-alias called BMIOLD, which points
      to directory where did you backup the old database-files (for example
      c:\bmiold). Look section called "About Borland Database Engine
      Alias(important)", how to create this alias.
   b) Use bmconv.exe to convert database(s). Program should be quite self 
      explanatory.
5) Copy database-files from backup directory, which definition has NOT changed
   in upgrade version to install directory.

REMEBER! When upgrading you don't have to install BDE. It is enough to install
it once, unless it is corrupted.

Description of the programs:
============================

BMADMIN.EXE:

This program is used to maintain ftp, smtp and pop3 events. You can for example
to add an ftp-event, which gets binaryfile from the remote server. So this
program does not run these internet protocols, it just maintains the events-
databases. With this program you also choose are you wired to network or
using Dial-Up-Networking. There is no detail help for this program. It should
be quite self explanatory if you are familiar with these internet protocols.

BMTIMER.EXE:

This program is used to maintain timed events and this program also runs these
timed events. You can for example time a certain ftp-event (made with
bmadmin.exe) to start first day of every month at 10.15 AM. You can also use
this program to time whatever program you want. This program must be running
all the time, so it can run programs, when time is right. You can add this
program to your start group, so it is allways running. There is no detail help
for this program. It should be quite self explanatory. Program creates file
called timer.log, where is information about started events. Program appends
lines from logmemo to logfile everytime when bmtimer.exe is closed. Maxium
size for log is 200 kbytes and after this size logfile will be regenerated.

Note of "This event must be runned first"-field: If you want to be sure, that
certain event is runned before the current event, you can type it's name to
this field. You must feed earlier starting time for this event than for
current event. This is only way to ensure, that program correctly checks,
that this event has runned before current one.

BMCONV.EXE:

This program is used to convert old database-files to new ones, when upgrading.
Look section called "About upgrading (important)" for further help.

BMFTP.EXE:

This program runs an ftp-event (made with bmadmin.exe). Command-line syntax is 
following: bmftp.exe [Name of the event]. This program can be started from the
command-line or as a event created with bmtimer.exe, so it can be timed.
Program creates file called ftp.log, where is information about file transfers.
Program appends lines to logfile after transfer. Maxium size for log is 200
kbytes and after this size logfile will be regenerated.

BMSMTP.EXE:

This program runs an smtp-event (made with bmadmin.exe). Command-line syntax
is following: bmsmtp.exe [Name of the event]. This program can be started from
the command-line or as a event created with bmtimer.exe, so it can be timed.
Program creates file called smtp.log, where is information about smtp transfers.
Program appends lines to logfile after transfer. Maxium size for log is 200
kbytes and after this size logfile will be regenerated. NOTE: program handles
only one mail protocol attachmentfile. It handles two attachment encoding
methods: MIME and UUEncoding.

BMPOP3.EXE:

This program runs an pop3-event(made with bmadmin.exe). Command-line syntax
is following: bmpop3.exe [Name of the event.]. This program can be started from
the command-line or as a event created with bmtimer.exe, so it can be timed.
Program creates file called pop3.log, where is information about pop3 transfers.
Program appends lines to logfile after transfer. Maxium size for log is 200
kbytes and after this size logfile will be regenerated. NOTE: program handles
only one mail protocol attachmentfile. It handles two attachment decoding
methods: MIME and UUDecoding.

End speech:
===========

I hope that you got at least a little hint what to do with this software and i
hope it will be useful for you. I don't have too much sparetime nowdays, but
if you have some problem or question,  i can try to help you. My e-mail address
is anttik@teknos.fi

Best regards,
Antti Karjalainen

Version information:
====================

V1.2 - No definition changes in database-files.
     - Dial-Up-Networking possibility added. Only drawback is that,
       Dial-Up-Networking must be installed, nevertheless you want to use 
       only LAN-type connection.
     - bmftp.exe totally reconstructed to use FTP4W32.DLL, which is made by
       Philippe Jounin (SNCF). Thanks Philippe for great dll!

V1.1 - Note: Definition of timer-database has changed, so you have to
       use bmconv.exe to convert database. Look section called "About upgrading
       (important)" for further help. 
     - Timing bug fixed in bmtimer.exe
     - "Run"-button added to bmtimer.exe
     - Event can now be ensured to run on the last day of the month (month 
       repetition/bmtimer.exe)
     - Possibility to ensure, that specified event is runned before running the
       current event.
     - Couple of additions made to this readme-file.

V1.0 - Initial release
