Contents 
 
What's new ? 
 
Overview 
Installation 
GUI preferences 
Configuration 
Dotfiles 
Using campus 
Features 
Security 
 
Bugs and missing features 
Things to do 
Licence 
History 
 
About the author 
Internet Suite 
 
FAQ 
campus - The FTP-server for the BeOS®

campus: Dotfiles

There are two kinds of "dotfiles":

  1. .login
    .login files are read from the users home directory at login time.

  2. .message
    .message files are read from the current directory whenever the directory changes.
For a dotfile to be displayed just put it in the corresponding directory, e.g. /boot/home/ftp would be a good place for the .login file for user ftp and /boot/home/ftp/incoming a good place for a .message file describing what kind of uploads are accepted.

Before the files are displayed campus makes some substitutions if certain keywords are present. The list of recognised keyrowrds is a little bit short at the moment but will be extended in further releases.

Keywords consist of the '$' letter followed by another letter describing how the keyword should be substituted.

Keyword Substituted by
$n  the current number of users logged in using the same name. 
$N  the total number of users allowed to log in using the same name. 
$H  the hostname of the system. 
$C  campus followed by the version number. 

For an example please refer to the sample.login file located in the campus Release 2.1/ftp directory.


Copyright © 1997-99 Stegemann & Co., Inc., All Rights reserved.
Created: March 4, 1998. Last modified: April 25, 1999.