杰网资源 Design By www.escxy.com
使用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 服务器端的当前时间  
趖e - 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 "Setup - Server" 最大用户数  
%MaxAnonymous - the maximum no. of anonymous users, as set in "Setup - Server" 最大匿名登录用户数    
User info: 用户设置  
%Name - displays the user's login name 显示用户的登录名  
%IP - displays the user's IP number or name if available 显示登录用户的IP  
%Dir - displays the user's current directory 显示用户当前所在目录  
%Disk - displays the user's current disk drive 显示用户的当前磁盘  
遰ee - displays the amount of free space on the user's current disk in Kb 显示可用的空间  
%FUp - displays the number of files uploaded by the current user 当前用户上传数  
齩wn - displays the number of files downloaded 当前用户下载数  
%FTot - displays the total number of files transferred 显示当前用户传输的文件总数  
%BUp - displays the number of Kbytes uploaded by the user 显示当前用户上传的字节总数  
給wn - 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下    
下面是一个例子:    
欢迎你在趖e %time 访问我们的服务器, 你是第 %unow 个用户,最大  
用户数为 %maxusers,在上24小时以来,共有 %u24h个朋友访问这里。    
注意,CLIENT端每行只显示80个字符,而返回码就占了4个字符。所以,建议定义信息每行最多70个字符。    
建议:自建FTP的朋友,建议多使用下面的符号:  
%Disk - 用户当前磁盘驱动器  
遰ee - 用户当前剩余空间(KB)  
%QuotaMax - 最大可用磁盘空间(KB)    
以便给上传的朋友知道现在的空间可用情况 。    
当然可以设置限额:  
Menu-->setup--->users...---->Quota: Enable disk quota: Maximum: XXXMB  
这样可以用  
%QuotaUsed - 已使用多小配额空间(KB)  
%QuotaLeft - 还有多小配额空间可以用(kb)  
%QuotaMax - 设定的配额    
建议是在登入信息和目录改变信息里加入这些宏,这样使用FTP人会方便很多。    
*************************************************************************************  
Serv-U FTP Server can display various types of messages:    
?Sign-on/sign-off messages    
?User specific login messages    
?Directory change 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  
趖e- 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  
遰ee- 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  
齩wn- displays the number of files downloaded  
%FTot- displays the total number of files transferred  
%BUp- displays the number of Kbytes uploaded by the user    
給wn- 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.    
Example Message    
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  
Kb 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  
================================================================================================== 
模版   
★★★★★★★★★★★★★★★★★★★★★★★★★  
来自%IP的朋友您好。  
本地时间是趖e %Time  
服务器已连续工作:%ServerDays天%ServerHours小时%ServerMins分%ServerSecs秒  
本站开通以来已接通%UAll位使用者。  
过去24小时总共有%U24h次连接。  
匿名用户上限为%MaxAnonymous人。每个ip只能开两个进程  
目前有%UNow位使用者在线。  
其中匿名用户有%UAnonAll人在线。  
★★★★★★★★★★★★★★★★★★★★★★★★★  
自本站开通以来共上传/下载 |%ServerKbUpKB/%ServerKbDownKB  
自本站开通以来共上传/下载 |%ServerFilesUp个/%ServerFilesDown个  
服务器当前流量|%ServerKBps Kb/sec  
服务器平均流量|%ServerAvg Kb/sec  
★★★★★★★★★★★★★★★★★★★★★★★★★  
你目前的空间容量为 |%QuotaMax/KB  
你目前总共使用了 |%QuotaUsed/KB  
你目前的空间剩余 |%QuotaLeft/KB  
★★★★★★★★★★★★★★★★★★★★★★★★★    
   欢迎来自 %IP 的朋友访问 来子 的FTP服务器!  
   现在是北京时间:%Time,趖e  
   本站开通以来已接通 %UAll 位使用者  
   服务器本次运行时间%ServerHours小时零%ServerMins分  
   服务器%Disk盘上还有遰ee MBytes的剩余空间。  
   过去 24 小时总共有 %U24h 次连接。  
   你是本次运行以来的第%UAll位访客。  
   目前的连机人数%UNow  
   本次流量统计→下载:%ServerKbDownK 上传:%ServerKbUpK。  
   目前匿名有%UAnonAll个连接,总共允许%MaxAnonymous个连接。
标签:
[windows服务器]serv-u登陆信息设置

杰网资源 Design By www.escxy.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
杰网资源 Design By www.escxy.com