--== Building ==--

To compile for Solaris:
make -f makefile.solaris

To install for Solaris:
make -f makefile.solaris install

To compile for Linux:
make -f makefile.linux

To install for Linux:
make -f makefile.linux install

To compile for Windows:
nmake -f makefile.vc.mak

Other UNIX-like systems should be able to use either
the Solaris or Linux makefile with minor modifications

Man pages are included for Unix-like systems


--== Running under Windows ==--

UFTP was originally written to run in a UNIX/Linux environment, so it doens't
natively do things that other Windows servers do such as run in the background
or run as a Windows service.  Included with UFTP are hidedos.exe, instsrv.exe,
and srvany.exe which allows these things to happen.  Hidedos is a utility
originally written by LANDesk to allow command line windows programs to run
in the background.  Instsrv and srvany are components of the Windows Resource
Kit which.  Instsrv is used to install and remove services, and srvany allows
programs not written as windows services to run as such.

To run the uftpd client without leaving a command prompt open (the -d option
tells uftpd to run in the foreground, so don't use this option in this case):

hidedos uftpd [options]

To run the uftpd client as a Windows service:

Copy instsrv.exe and srvany.exe to the system folder (usually c:\windows\system32)

Install the service:
instsrv UFTPD c:\windows\system32\srvany.exe

Configure the service:
Open regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UFTPD
Right-click the UFTPD key and choose New > Key.
Name the key Parameters.
Right-click the new Parameters key under UFTP and choose New > String Value.
Name the string Application.  
Double-click the Application value and fill in the full command line to uftpd

Once configured, the service should start.  In the task list, you'll see
both srvany.exe and uftpd.exe running while the service is up.

If you need to remove the service:
instsrv UFTPD remove
