香港云主机最佳企业级服务商!

ADSL拨号VPS包含了中国大陆(联通,移动,电信,)

中国香港,国外拨号VPS。

当前位置:云主机 > 服务器资讯 >

电信ADSL拨号VPS
联通ADSL拨号VPS
移动ADSL拨号VPS

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


时间:2020-10-21 13:38 作者:admin


使用FTPServ-U安装FTPSERVER的朋友,可以使用Serv-U符号信息参数来向CLIENT端显示一些重要的信息。
比如:
MonDec1022:32:462001220-==============================
MonDec1022:32:462001220-服务器状态:
MonDec1022:32:462001220-现在时间:22:35:40,在过去24小时共有1578人访问本服务器
MonDec1022:32:462001220-本服务器已经运行0天11小时37分55秒
MonDec1022:32:462001220-磁盘空闲空间:1098.11Mb
MonDec1022:32:462001220-总登录用户数:1121total
MonDec1022:32:462001220-当前用户数:10/40
MonDec1022:32:462001220-总下载数据量:8713447Kb
MonDec1022:32:462001220-总上传数据量:291923Kb
MonDec1022:32:462001220-总下载文件数:2391
MonDec1022:32:462001220-总上传文件数:15
MonDec1022:32:462001220-平均流量:215.105Kb/sec
MonDec1022:32:462001220当前流量:68.511Kb/sec
这些可以显示的信息包括:
Sign-on/sign-offmessages签入/出信息
Userspecificloginmessages用户指定登录信息
Directorychangemessages目录改变信息

你可以往这些指定的信息文本里加入符号参数,这些参数在发送给客户时会扩展为当前状态的内容。
这些符号参数都是以"%"号开头的,下面是完整列表
Time/date: 时间部分
%Time-displaysthecurrenttimeonyourPC服务器端的当前时间
趖e-displaysthecurrentdateonyourPCServer服务器端的当前日期
statistics: 状态统计部分
%ServerDays-displaysthenumberofdaystheserverhasbeenrunning服务器已运行时间(天数)
%ServerHours-displaysthenumberofhourstheserverhasbeenrunning服务器已运行时间(小时)
%ServerMins-displaysthenumberofminutestheserverhasbeenup 服务器已运行时间(分钟)
%ServerSecs-displaysthenumberofsecondstheserverhasbeenup服务器已运行时间(秒)
%ServerKbUp-displaystheno.Kbytesuploadedtotheserversinceserverstart本次启动以来服务器接收的字节数
%ServerKbDown-displaystheno.Kbdownloadedfromtheserversinceserverstart本次启动以来服务器发送的字节数
%ServerFilesUp-displaystheno.offilesuploadedtotheserversinceserverstart本次启动以来服务器接收的文件数
%ServerFilesDown-displaystheno.offilesdownloadedfromtheserversinceserverstart本次启动以来服务器发送的文件数
%LoggedInAll-displaystotalno.ofloggedinuserssinceserverstart本次启动以来登录本机的用户数
%ServerAvg-displaystheaverageserverthroughputsinceserverstart本次启动以来服务器平均吞吐能力
%ServerKBps-displayscurrentserverbandwidthuse当前服务器带宽占用
Serversettings: 服务器设置
%MaxUsers-displaysthemaximumno.ofusers,assetin"Setup-Server"最大用户数
%MaxAnonymous-themaximumno.ofanonymoususers,assetin"Setup-Server"最大匿名登录用户数
Userinfo:用户设置
%Name-displaystheuser'sloginname显示用户的登录名
%IP-displaystheuser'sIPnumberornameifavailable显示登录用户的IP
%Dir-displaystheuser'scurrentdirectory显示用户当前所在目录
%Disk-displaystheuser'scurrentdiskdrive显示用户的当前磁盘
遰ee-displaystheamountoffreespaceontheuser'scurrentdiskinKb显示可用的空间
%FUp-displaysthenumberoffilesuploadedbythecurrentuser当前用户上传数
齩wn-displaysthenumberoffilesdownloaded当前用户下载数
%FTot-displaysthetotalnumberoffilestransferred显示当前用户传输的文件总数
%BUp-displaysthenumberofKbytesuploadedbytheuser显示当前用户上传的字节总数
給wn-displaysthenumberofKbytesdownloadedbytheuser显示当前用户下载的字节总数
%BTot-displaysthetotalnumberofKbytestransferred显示当前用户传输的字节总数
%TconM-displaysthetotalconnecttimeinminutes显示连接时间(分钟)
%TconS-displaystheconnecttimeinseconds-tobeusedwith"%tconm" 显示连接时间(秒)
%RatioUp-displaysthe"upload"ratiopartforUL/DLratios显示当前用户上传/下载比率中的"上传百分比"
%RatioDown-displaysthe"download"ratiopartforUL/DLratios显示当前用户上传/下载比率中的"下载百分比"
%RatioCredit-displaysthecurrentdownloadcreditforUL/DLratios(Kbor"files")显示当前用户还可以下载的字节数
以下是有关配额的显示
%QuotaUsed-displayshowmuchdiskquotaisusedinKb 显示配额已使用部分
%QuotaLeft-displayshowmuchdiskquotaisleftinKb显示配额剩余部分
%QuotaMax-displaysthemaximumamountofdiskspacethatcanbeusedinKbNumberofusers:磁盘最大可用字节数
%UNow-displaysthecurrentnumberofServ-Uusersconnected当前连接在服务器上的人数
%UAll-displaysthenumberofuserssincetheserverwasstarted本次启动以来连接过本服务器的用户数
%U24h-displaysthenumberofusersinthelast24hours二十四小时以来连接过本服务器的用户数
%UAnonAll-allcurrentlyloggedinanonymoususers当前连接在服务器上的匿名用户数
%UAnonThisIP-allanonymoususersloggedintothisIPhome
%UNonAnonAll-allnon-anonymoususerscurrentlyloggedin
%UNonAnonThisIP-allnon-anonymoususersloggedintothisIPhome
%UThisName-allcurrentuserswiththecurrentusernameloggedintothisIPhome下
下面是一个例子:
欢迎你在趖e%time访问我们的服务器,你是第%unow个用户,最大
用户数为%maxusers,在上24小时以来,共有%u24h个朋友访问这里。
注意,CLIENT端每行只显示80个字符,而返回码就占了4个字符。所以,建议定义信息每行最多70个字符。
建议:自建FTP的朋友,建议多使用下面的符号:
%Disk-用户当前磁盘驱动器
遰ee-用户当前剩余空间(KB)
%QuotaMax-最大可用磁盘空间(KB)
以便给上传的朋友知道现在的空间可用情况。
当然可以设置限额:
Menu-->setup--->users...---->Quota:Enablediskquota:Maximum:XXXMB
这样可以用
%QuotaUsed-已使用多小配额空间(KB)
%QuotaLeft-还有多小配额空间可以用(kb)
%QuotaMax-设定的配额
建议是在登入信息和目录改变信息里加入这些宏,这样使用FTP人会方便很多。
*************************************************************************************
Serv-UFTPServercandisplayvarioustypesofmessages:
?Sign-on/sign-offmessages
?Userspecificloginmessages
?Directorychangemessages
Thereareseveralsymbolicparametersthatcanbeenteredinthemessagetext.Theseparametersareexpandedwhilebeingsenttoaclient.Theyallbeginwith'%'.Hereisthecompletelist:
Time/date
%Time-displaysthecurrenttimeonyourPC
趖e-displaysthecurrentdateonyourPC
Serverstatistics
%ServerDays-displaysthenumberofdaystheserverhasbeenrunning
%ServerHours-displaysthenumberofhourstheserverhasbeenrunning
%ServerMins-displaysthenumberofminutestheserverhasbeenup
%ServerSecs-displaysthenumberofsecondstheserverhasbeenup
%ServerKbUp-displaystheno.Kbytesuploadedtotheserversinceserverstart
%ServerKbDown-displaystheno.Kbdownloadedfromtheserversinceserverstart
%ServerFilesUp-displaystheno.offilesuploadedtotheserversinceserverstart
%ServerFilesDown-displaystheno.offilesdownloadedfromtheserversinceserverstart
%LoggedInAll-displaystotalno.ofloggedinuserssinceserverstart
%ServerAvg-displaystheaverageserverthroughputsinceserverstart
%ServerKBps-displayscurrentserverbandwidthuse
Serversettings
%MaxUsers-displaysthemaximumno.ofusers,assetin'Settings-Domain'
%MaxAnonymous-themaximumno.ofanonymoususers,assetin'Settings-Domain'
Userinfo
%Name-displaystheuser'sloginname
%IP-displaystheuser'sIPnumberornameifavailable
%Dir-displaystheuser'scurrentdirectory
%Disk-displaystheuser'scurrentdiskdrive
遰ee-displaystheamountoffreespaceontheuser'scurrentdiskinMb
%FUp-displaysthenumberoffilesuploadedbythecurrentuser
齩wn-displaysthenumberoffilesdownloaded
%FTot-displaysthetotalnumberoffilestransferred
%BUp-displaysthenumberofKbytesuploadedbytheuser
給wn-displaysthenumberofKbytesdownloadedbytheuser
%BTot-displaysthetotalnumberofKbytestransferred
%TconM-displaysthetotalconnecttimeinminutes
%TconS-displaystheconnecttimeinseconds-tobeusedwith'%tconm'
%RatioUp-displaysthe'upload'ratiopartforUL/DLratios
%RatioDown-displaysthe'download'ratiopartforUL/DLratios
%RatioCredit-displaysthecurrentdownloadcreditforUL/DLratios(Kbor'files')
%QuotaUsed-displayshowmuchdiskquotaisusedinKb
%QuotaLeft-displayshowmuchdiskquotaisleftinKb
%QuotaMax-displaysthemaximumamountofdiskspacethatcanbeusedinKb
Numberofusers
%UNow-displaysthecurrentnumberofServ-Uusersconnected
%UAll-displaysthenumberofuserssincetheserverwasstarted
%U24h-displaysthenumberofusersinthelast24hours
%UAnonAll-allcurrentlyloggedinanonymoususers
%UAnonThisIP-allanonymoususersloggedintothisIPhome
%UNonAnonAll-allnon-anonymoususerscurrentlyloggedin
%UNonAnonThisIP-allnon-anonymoususersloggedintothisIPhome
%UThisName-allcurrentuserswiththecurrentusernameloggedintothisIPhome
Thefileuploadanddownloadmessagedirectivesareforthecurrentsessiononly(i.e.theydonotshowtheaggregateovermultiplesessions).
The'%ServerDays','%ServerHours','%ServerMins',and'%ServerSecs'directivesaremeantforusetogether.Thenumberofhoursiswhat'sleftafterthenumberofdaysissubtracted,andthesamegoesforthenumberofminutesandseconds.
ExampleMessage
Welcometoftp.cat-soft.com,homeofServ-U!
Localtimeis%time,and%u24husershavevisitedoverthelast24hours.Thisserverhasbeenupfor%ServerDaysdays,%ServerHourshours,%ServerMinsmin.and%ServerSecssec.
Serverstats:
Usersloggedin:%loggedInAlltotal
Currentusers:%Unow
Kbdownloaded:%ServerKbDownKb
Kbuploaded:%ServerKbUpKb
Filesdownloaded:%ServerFilesDown
Filesuploaded:%ServerFilesUp
Averagethrougput:%ServerAvgKb/sec
Currentthrougput:%ServerKBpsKb/sec
Pleasekeepinmindthattheaverageclienthasonly80charactersperline,andthefirstfouraretakenupbythereplycode.Pleasebebrief,70charactersshouldgenerallybeconsideredasafemaximum.
Serv-UHelp-Copyright?1995-2001Cat-Soft,AllRightsReserved
==================================================================================================
模版
★★★★★★★★★★★★★★★★★★★★★★★★★
来自%IP的朋友您好。
本地时间是趖e%Time
服务器已连续工作:%ServerDays天%ServerHours小时%ServerMins分%ServerSecs秒
本站开通以来已接通%UAll位使用者。
过去24小时总共有%U24h次连接。
匿名用户上限为%MaxAnonymous人。每个ip只能开两个进程
目前有%UNow位使用者在线。
其中匿名用户有%UAnonAll人在线。
★★★★★★★★★★★★★★★★★★★★★★★★★
自本站开通以来共上传/下载|%ServerKbUpKB/%ServerKbDownKB
自本站开通以来共上传/下载|%ServerFilesUp个/%ServerFilesDown个
服务器当前流量|%ServerKBpsKb/sec
服务器平均流量|%ServerAvgKb/sec
★★★★★★★★★★★★★★★★★★★★★★★★★
你目前的空间容量为|%QuotaMax/KB
你目前总共使用了|%QuotaUsed/KB
你目前的空间剩余|%QuotaLeft/KB
★★★★★★★★★★★★★★★★★★★★★★★★★
欢迎来自%IP的朋友访问来子的FTP服务器!
现在是北京时间:%Time,趖e
本站开通以来已接通%UAll位使用者
服务器本次运行时间%ServerHours小时零%ServerMins分
服务器%Disk盘上还有遰eeMBytes的剩余空间。
过去24小时总共有%U24h次连接。
你是本次运行以来的第%UAll位访客。
目前的连机人数%UNow
本次流量统计→下载:%ServerKbDownK上传:%ServerKbUpK。
目前匿名有%UAnonAll个连接,总共允许%MaxAnonymous个连接。 (责任编辑:admin)






帮助中心
会员注册
找回密码
新闻中心
快捷通道
域名登录面板
虚机登录面板
云主机登录面板
关于我们
关于我们
联系我们
联系方式

售前咨询:17830004266(重庆移动)

企业QQ:383546523

《中华人民共和国工业和信息化部》 编号:ICP备00012341号

Copyright © 2002 -2018 香港云主机 版权所有
声明:香港云主机品牌标志、品牌吉祥物均已注册商标,版权所有,窃用必究

云官方微信

在线客服

  • 企业QQ: 点击这里给我发消息
  • 技术支持:383546523

  • 公司总台电话:17830004266(重庆移动)
  • 售前咨询热线:17830004266(重庆移动)