荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: tianck (点解星际啲虫咁核突嘎~~~), 信区: Newsoftware
标  题: G6的信息
发信站: 荔园晨风BBS站 (Fri Oct 18 20:15:55 2002), 站内信件

=======================

Message Files

There are 3 types of message files:

Login message file: sent by the event manager after the welcome
message

ChangeDir message file: sent each time a user changes his current
directory

Links File: processed while sending directory list

Note: the ChangeDir file can also be a file without a specific path,
in that case the server will check any directory for this file and
process it in case it exists. Using this method you can add specific
files with different messages to every directory.
Alternatively you could place a message file (maybe called 'chgdir_msg.
txt') e.g. in your upload directory exclusively so people would only see
 a message when they would enter it to upload files. In any case you
should set this file's attribute to 'hidden' and also check 'Hide
files/dirs with 'hidden' attribute set' under 'Setup User/Group accounts
 | Miscellaneous'.
The first two message files support many tags:


%MAXUSERS = the maximum number of users which can be connected to the
server at the same time
%LOCALIP = the IP address of the server
%UIP, %CLIENTIP = the IP address of the client
%CLIENTIP_000 = returns formated ip like 192.168.000.010 (for use with
filename and sorting).

%UHOSTNAME = the hostname of the client
%UNAME = the user's account name
%USPEEDLIMIT = the maximum speed the user will be able to send/receive
at
%CNOW = the number of users currently connected
%CALL = the total number of user connections to the server since
startup
%C24H = the number of connections during the last 24h
%UTIMEOUT = current user TimeOut

%URATIOCREDIT = current user ratio credit (if ratio is enabled)
(%URATIOCREDITxx with xx=KB, MB,GB)

%UQUOTACURRENTxx (with xx=KB, MB, GB) = current quota
%UQUOTAMAXxx (with xx=KB, MB, GB) = max quota

%UHOME = current user home dir (if showrelativepath is disabled)
%UCURRENTDIR = current user dir
%URATIO = current upload/download ratio
%URATIOUP = current upload ratio
%URATIODOWN = current download ratio

%WELCOMEIP = create a file named "welcome_<ip>.txt" (welcome_192.168.0.
128.txt) and server will send it as welcome message for ip (to be used
with virtual server).

%SERVERSECS  = \
%SERVERMINS  =   time the server is online
%SERVERHOURS = /
%SERVERDAYS  =/

%SERVERTIMEUP = server uptime since online
%SERVERTOTUPTIME = server total uptime since installation

%TOPDAY, %TOPWEEK, %TOPMONTH, %TOPALL = merge .top file in the message

 -= All Session =-

(xx = KB,MB,GB)

%SERVERxxUP  = uploaded to the server (all sessions)
%SERVERxxDOWN = downloaded from the server (all sessions)
%SERVERxxALL = transferred to the server = %SERVERxxUP + %SERVERxxDOWN

 -= Server Session =-

%SESSIONxxUP = KB uploaded to the server by clients
%SESSIONxxDOWN = KB downloaded from the server by clients
%SESSIONxxALL = KB transferred to the server = %SESSIONKBUP +
%SESSIONKBDOWN

%SESSIONxxTOTAL = KB transferred by the server including uploads,
downloads,
                  directory listings, answers to commands ...

%SESSIONFILESUP = number of files uploaded to the server
%SESSIONFILESDOWN = number of files downloaded from the server
%SESSIONFILESALL = %SESSIONFILESUP + %SESSIONFILESDOWN

%SESSIONAVG = average bytes transferred by the server

 -= Time/Date =-

%TIME_EX = reports formated time as "hhmmss"

%TIME, %SERVERTIME = server's machine time

%DATE_EX_DMY, _YMD, _MDY = returns formatted date : 2000-11-30 for
example (D=day, M=month, Y=year)

%SERVERDATE = server's machine date
%SERVERLOCALHOST = server's local hostname
%SERVERVERSION = server version

%DISK = if 'Show Relative Paths' is not enabled return disk drive
%DFREE, %DFREEKB, %DFREEMB, %DFREEGB = free space in current directory
(byte, Kbyte, Mbyte, Gbyte)

%DFREEx (x=drive letter) = report free drive space on x (also avail. :
%DFREExKB, %DFREExMB, %DFREExGB).

 -= user =-

%FUP = number of files uploaded by current user (current session)
%FDOWN = number of files downloaded by current user (current session)
%FTOT = %FUP + %FDOWN (current session)

%BUP, %KBUP, %MBUP, %GBUP = number of bytes uploaded by current user
(current session)
%BDOWN, %KBDOWN, %MBDOWN, %GBDOWN = number of bytes downloaded by
current user (current session)
%BTOT = %BUP + %BDOWN (current session)
(%KBTOT, %MBTOT, %GBTOT)

%BDOWNALL, %KBDOWNALL, %MBDOWNALL, %GBDOWNALL = downloaded by current
user (all session)
%BUPALL, %KBUPALL, %MBUPALL, %GBUPALL = uploaded by current user (all
session)

%TMIN = minutes since current user is connected
%TSEC = seconds since current user is connected (not equal to %TMIN *
60)

 -= Server =-

%SITEWHO = who's online.

%PCPROC = type and number of server 黵ocessor (Intel, AMD, Cyrix ... K6,
 Pentium II, ...)
%PCRAM = amount of physical memory

%OSVER = Windows version (95, 98, NT, Service Pack if available ...)

%S_IP = server IP separated by commas


A typical login file could be:
==========================================
Hello, user from %UIP !
You are user #%CNOW of %MAXUSERS maximum users
It is %SERVERTIME, we are the %SERVERDATE.
==========================================
You are connected to %SERVERVERSION, this server has %PCPROC and
%PCRAM KB of Ram.
This server has already served %SESSIONKBUP KB to client and received
%SESSIONKBDOWN KB
at an average rate of %SESSIONAVG KB/s.
You will be disconnected after %UTIMEOUT s of inactivity.

Have a nice day on our server!




【 在 fly (孤独的灵魂) 的大作中提到: 】


--


   “我要这天,再遮不住我眼,
     要这地,再埋不了我心,
     要这众生,都明白我意,
     要那诸佛,都烟消云散!”

※ 修改:·czj 於 Oct 21 10:39:50 修改本文·[FROM: 192.168.45.249]
※ 来源:·荔园晨风BBS站 bbs.szu.edu.cn·[FROM: 192.168.55.117]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店