Serv-U 登陆信息提示设置
作者: 来源: 添加时间:2006-5-24 15:30:26使用FTP Serv-U安装FTPSERVER的朋友,可以使用Serv-U符号信息参数来向CLIENT端显示一些重要的信息。
比如:
Mon Dec 10 22:32:46 2001 220-==============================
Mon Dec 10 22:32:46 2001 220-服务器状态:
Mon Dec 10 22:32:46 2001 220-现在时间:22:35:40, 在过去24小时共有 1578 人访问本服务器。
Mon Dec 10 22:32:46 2001 220-本服务器已经运行 0 天 11 小时 37 分 55 秒
Mon Dec 10 22:32:46 2001 220-磁盘空闲空间:1098.11 Mb
Mon Dec 10 22:32:46 2001 220-总登录用户数: 1121 total
Mon Dec 10 22:32:46 2001 220-当前用户数: 10 / 40
Mon Dec 10 22:32:46 2001 220-总下载数据量: 8713447 Kb
Mon Dec 10 22:32:46 2001 220-总上传数据量: 291923 Kb
Mon Dec 10 22:32:46 2001 220-总下载文件数: 2391
Mon Dec 10 22:32:46 2001 220-总上传文件数: 15
Mon Dec 10 22:32:46 2001 220-平均流量: 215.105 Kb/sec
Mon Dec 10 22:32:46 2001 220 当前流量: 68.511 Kb/sec
这些可以显示的信息包括:
Sign-on/sign-off messages 签入/出信息
User specific login messages 用户指定登录信息
Directory change messages 目录改变信息
你可以往这些指定的信息文本里加入符号参数,这些参数在发送给客户时会扩展为当前状态的内容。
这些符号参数都是以 "%" 号开头的,下面是完整列表
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 当前服务器带宽占用