Serv-U 메시지 소스 설명서

Serv-U FTP Server can display various types of messages:

?Sign-on/sign-off messages

?User specific login messages

?Directorychange messages

There are several symbolic parameters that can be entered in the message text. These parameters are expanded while being sent to a client. They all begin with ‘%’. Here is the complete list:

Time/date

%Time        – displays the current time on your PC
%Date        – displays the current date on your PC

Server statistics

%ServerDays        – displays the number of days the server has been running
%ServerHours        – displays the number of hours the server has been running
%ServerMins        – displays the number of minutes the server has been up
%ServerSecs        – displays the number of seconds the server has been up
%ServerKbUp        – displays the no. Kbytes uploaded to the server since server start
%ServerKbDown        – displays the no. Kb downloaded from the server since server start
%ServerFilesUp        – displays the no. of files uploaded to the server since server start
%ServerFilesDown        – displays the no. of files downloaded from the server since server start
%LoggedInAll        – displays total no. of logged in users since server start
%ServerAvg        – displays the average server throughput since server start
%ServerKBps        – displays current server bandwidth use

Server settings

%MaxUsers        – displays the maximum no. of users, as set in ‘Settings – Domain’
%MaxAnonymous        – the maximum no. of anonymous users, as set in ‘Settings – Domain’

User info

%Name        – displays the user’s login name
%IP        – displays the user’s IP number or name if available
%Dir        – displays the user’s current directory
%Disk        – displays the user’s current disk drive
%DFree        – displays the amount of free space on the user’s current disk in Mb
%FUp        – displays the number of files uploaded by the current user
%FDown        – displays the number of files downloaded
%FTot        – displays the total number of files transferred
%BUp        – displays the number of Kbytes uploaded by the user
%Bdown        – displays the number of Kbytes downloaded by the user
%BTot        – displays the total number of Kbytes transferred
%TconM        – displays the total connect time in minutes
%TconS        – displays the connect time in seconds – to be used with ‘%tconm’
%RatioUp        – displays the ‘upload’ ratio part for UL/DL ratios
%RatioDown        – displays the ‘download’ ratio part for UL/DL ratios
%RatioCredit        – displays the current download credit for UL/DL ratios (Kb or ‘files’)
%QuotaUsed        – displays how much disk quota is used in Kb
%QuotaLeft        – displays how much disk quota is left in Kb
%QuotaMax        – displays the maximum amount of disk space that can be used in Kb

Number of users

%UNow        – displays the current number of Serv-U users connected
%UAll        – displays the number of users since the server was started
%U24h        – displays the number of users in the last 24 hours
%UAnonAll        – all currently logged in anonymous users
%UAnonThisIP         – all anonymous users logged into this IP home
%UNonAnonAll         – all non-anonymous users currently logged in
%UNonAnonThisIP        – all non-anonymous users logged into this IP home
%UThisName        – all current users with the current user name logged into this IP home

The file upload and download message directives are for the current session only (i.e. they do not show the aggregate over multiple sessions).

The ‘%ServerDays’, ‘%ServerHours’, ‘%ServerMins’, and ‘%ServerSecs’ directives are meant for use together. The number of hours is what’s left after the number of days is subtracted, and the same goes for the number of minutes and seconds.

예제:

Welcome to ftp.cat-soft.com, home of Serv-U!
Local time is %time, and %u24h users have visited over the last 24 hours. This server has been up for %ServerDays days, %ServerHours hours, %ServerMins min. and %ServerSecs sec.

Server stats:
     Users logged in: %loggedInAll total
        Current users: %Unow
       b downloaded: %ServerKbDown Kb
         Kb uploaded: %ServerKbUp Kb
   Files downloaded: %ServerFilesDown
       Files uploaded: %ServerFilesUp
Average througput: %ServerAvg Kb/sec
Current througput: %ServerKBps Kb/sec

Please keep in mind that the average client has only 80 characters per line, and the first four are taken up by the reply code. Please be brief, 70 characters should generally be considered a safe maximum.

Serv-U Help – Copyright ?1995-2001 Cat-Soft, All Rights Reserved

You may also like...

댓글 남기기