serv u服务器登录信息命令,[windows服务器]serv-u登陆信息设置

[windows服务器]serv-u登陆信息设置

更新时间:2006年12月06日 00:00:00   作者:

使用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个连接。

相关文章

1a1b05c64693fbf380aa1344a7812747.png

Windows2003 建立WEB服务器的图文教程...2007-06-06

4f55910a645b073bc4fc65dc10dc14bd.png

Apache的Rewrite心得...2007-01-01

0ea3c7666119d5615e582f823fb3fad6.png

WIN服务器安全批处理文件...2006-12-12

4f96a78db829b1556ff16de21e013c7a.png

改进Web站点性能的五个方面...2006-10-10

8cc1031babc6aff2319f1c6af8544aa0.png

自定义 ISA Server 2006 中的登录表单...2007-01-01

0c932a99bb7b6f23c937db507070cc7b.png

---- Apache是目前Internet上应用最为广泛的一种Web应用服务,它不仅可以完全免费得到,而且性能十分可靠,其各种功能模块可以根据需要灵活地组合使用。同时,技术人员还可以在它现有的基础上进行二次开发,因此备受使用者青睐。2008-03-03

cca732bf65a93ed2ec0ac80c638460fe.png

今天有客户说在我们网站无法下载包含中文文件名的文件,经过多方测试,强烈建议不要用中文文件名,如果修改比较麻烦,可以参考下面的方法2007-02-02

2d9f31f2af7b675a3d153d2b7f1035a7.png

服务器端脚本语言-PHP3指南,我们将集中全力于使Apache更加万能,并增加一些对PHP4的改进。PHP4自从beta 2版本后已经很坚固了,并且它将是最后的beta阶段,并且与Zend优化器的一起发布。2008-03-03

b452cee8ec5cd9e58ab98eba17281e59.png

win2003下安装apache2.2.3+php5.2+mysql+Zend的配置方法...2007-05-05

f4838ec7e2d4da28e0b57d4e852dadd4.png

又一篇不错的win2003服务器安全设置图文教程...2007-05-05

最新评论

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值