Contents 
 
What's new ? 
 
Overview 
Installation 
GUI preferences 
 
Global configuration 
IP Access configuration 
User configuration 
Group configuration 
Access configuration 
 
Dotfiles 
Attributes 
Attributes 
Using campus 
Features 
File Security 
 
Bugs and missing features 
Things to do 
Licence 
History 
 
Contact 
Internet Suite 
 
FAQ 
campus - FTP-server for BeOS®

campus: Attributes

campus maintains certain attributes on files when they are uploaded or downloaded. Some of these attributes are global and some are user specific. The following lists will describe the attributes in detail.

Security of the internal attributes

As the information that is kept in the attributes are private data of your ftp server users of your system will not be allowed to download or even list these attributes, but only if you have the maintaining of the attributes enabled globally or for the user that is logged in. In this case all attributes that start with "campus:" will be filtered out.
When an attribute that starts with "campus:" is uploaded, it is silently ignored.

Note: This policy is open to discussions, please write your comments to campus@stegemann.net.

Global attributes

Name Internal name Type Description
Downloads campus:DownloadCount Integer This attribute contains the number of times this file has been downloaded. The download count is increased after every successful download, broken trabsfers will not be counted!
Time of last download campus:DownloadTime Time This is the time and date of the last time this file was downloaded by any user. The attribute is updated only for successful updates, too.
Time of upload campus:UploadTime Time In this attribute the time and date of the upload of this file is kept. This attribute is not changed, but only added.
User campus:User String In this attribute the user that has downloaded this file is stored.

User specific attributes

Note: User specific attributes may be useful when you have a larfe userbase and want to differenciate between these users. The downside on this is that no extra attributes written for user specific attributes, you have to add them manually for now.

Internal name Type Description
campus:DownloadCount:[Username] Integer These attributes work like their global equivalents described above, the only change being that the names reflects the name of the user that has uploaded the file.
campus:DownloadTime:[Username] Time

Extra attributes information

To be able to few the attributes in Tracker windows, there must be at least one file in that directory that has the corresponding Extra Attributes set. You can check these attributes in the FileTypes program from Preferences.
campus allows you to set the informations necessary for that automatically with the InstallExtraAttributes keyword for any MIME type. Because it is not possible to have these extra attribute informations on all file types you have to specifiy the types you want to add the extra attribute infos on.

Note: This is only needed for display reasons, it is independant from campus actually writing the attributes!


Copyright © 1997-2002 Stegemann & Co., Inc., All Rights reserved.
Created: May 6, 2000. Last modified: January 12, 2002.