[windows伺服器]serv-u登陸資訊設定

來源:互聯網
上載者:User

使用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個串連。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.