Table of Contents
Rumpus is FTP Server Software for the Macintosh, produced by Maxum Development Corp. This is the application glue table, which allows you to add, delete, and modify user information in Rumpus's user database, through AppleEvents. Includes various utility scripts to make user-management easier.
If you're not using Rumpus (or Rumpus Pro) on your MacOS-based FTP server, then this glue table won't do you any good.
In order to use this glue table for successful, simple management of user accounts on your FTP server, you'll have to run version 1.3 or newer of Rumpus or Rumpus Pro. There is a bug in previous versions (of Rumpus) which render the suite fairly useless: changes made to Rumpus's user database through AppleEvents are lost when the server is rebooted. Again, this problem was fixed in Rumpus 1.3.
You may use this software free of charge.
You may distribute this software with your own software (freeware, shareware, or commercial software), provided that you acknowledge in your documentation, or "credits", that this software was written by Seth Dillingham at Macrobyte Resources. With this acknowledgement, provide the following URL for user-reference:
The AppleEvent interface (scripting interface) in Rumpus is designed for one purpose only: to allow user-management. A user, in this case, is an account on the FTP server. It provides functions (events) for creating new users, deleting users, and getting and setting a user's preferences (account permissions, mostly).
Account information is passed back and forth to Rumpus as a string: each line of the string represents a single preference for the user. However, it was found that working with strings this way, in Frontier, made the suite fairly difficult to use. As a result, the basic block of information your scripts must deal with is a UserInfoRec.
The UserInfoRec is a record in which each key/value pair represents one account preference. Create a UserInfoRec by calling rumpus.utils.userInfoRec( ), which will return a record with every field pre-defined. Any parameters you pass are used to initialize the record. For example:
The account preferences are as follows:
Create new users with the script rumpus.addUser( ). AddUser takes one parameter: a UserInfoRec record, which you should create with rumpus.utils.userInfoRec( ). Example:
See the test code at the end of rumpus.addUser( ) for a more lengthy example.
To delete a user, pass the account name to rumpus.deleteUser( ). Example:
To get all of the information for a single account, pass the account's username to rumpus.getUserDetail( ), which will return a UserInfoRec record as described above. Example:
There are two ways to changes an account's settings. If you only want/need to change one setting, then use rumpus.changeUserPref( ), which takes three parameters.
If you need to change more than one setting, then do something similar to the following:
This site built using Frontier 5 with a Macintosh. Last updated Monday, March 29, 1999
Contact Macrobyte Resources with comments or questions.