The server is contained in the Server.jar file and is run using the fpserver.bat file provided. The server is controlled by it's configuration file prop.fpserver which it looks for in the lib directory under the directory the batch file is run from.
You can use the fPserver Administration Gui Interface to edit the prop.fpserver file and to create, edit and/or modify the config.default and config.username files. How to use the Configuration Editor
The prop.fpserver file is used to specify various server operating parameters:
Examples of prop.fpserver:
Developer installed filePro and fPserver using the default installation on his C: drive on a Native 32 Windows PC:
port=4350 producers=200 consumers=10 debuglog=c:/fp/fpServer/logs/debug.log log=c:/fp/fpServer/logs/fpServer.log users=c:/fp/fpServer/lib exec=c:/fp/fpdaemon_nt
Developer installed filePro and fPserver into his C:\50win directory on a Native 32 Windows PC:
port=4350 producers=200 consumers=10 debuglog=c:/50win/fp/fpServer/logs/debug.log log=c:/50win/fp/fpServer/logs/fpServer.log users=c:/50win/fp/fpServer/lib exec=c:/50win/fp/fpdaemon_nt
Developer installed filePro and fPserver using the default installation on a SCO UNIX PC:
port=4350 producers=200 consumers=10 debuglog=/appl/fp/fpServer/logs/debug.log log=/appl/fp/fpServer/logs/fpServer.log users=/appl/fp/fpServer/users exec=/appl/fp/fpdaemon_nt
When a client connects to the server a message is sent back to the client requesting a login. fPclient prompts for the User Name. This name is used to find and read a config.username in the directory specified by the users configuration option in prop.server file.
The user password (if any) is read from this file. If a password is required for this user it is prompted for and compared to the stored value. If it matches, the exec program is run and is passed the startcmd specified in the config.username config file. This is a simplification, but from that point on the server basically does nothing more than relay messages between the client and filePro.
The configuration for each user is detailed in the config.default and config.username files contained in the users [/lib] directory. These files take the form of succesive lines of key=value. Lines beginning with # are ignored as comments. The user config files serve two purposes (1) to control the server treatment of the client session; and (2) to set the environment which is passed to the exececuted filePro programs.
The config.default file provides a default configuration for each user and the config.username files can add to and/or override entries in the config.default file. A special file config.anon will, if present, set the server treatment of the client session and the filePro environment for logins by users who do not have config.username files in the users directory.
All entries in the config.default file are automatically added to the config.username entries unless they have been overriden by entries with the same key from the config.username file. For example, if an administrator wanted PFDATA=C: set for nearly all users then he would place that in the config.default file. If the administrator wanted user name joe to get his data from the D drive then he would override this setting by placing PFDATA=D: in config.joe
It is important to note that the environment which is passed to the filePro programs (and any programs they may execute) is wholly specified by the entries in the config file(s). If a setting is not in the config file it will NOT be part of the filePro environment. This includes PATH, TERM, COMSPEC, etc.
Examples of config.default:
Developer installed filePro and fPserver using the default installation on his C: drive on a Native 32 Windows PC:
startcmd="p dpromenu" PFDSK=C PFPROG=C:/50WIN PFDATA=C: PFDROPSHADOW=OFF PFDIR=/50WIN pfign=abd PFNEWNTCONSOLE=ON PATH=%PFPROG%/fp;%path% log=false debuglog=false displaymessages=falseCopyright 2000, fP Technologies, Inc. All Rights Reserved
These documents are covered under the terms and conditions of the fP Technologies, Inc. Program License Agreement
rev. 9/27/2000