[Windows Server]serv-u Login information Settings _ server

Source: Internet
Author: User
Tags anonymous file upload ftp ip number local time
Using the FTP serv-u to install Ftpserver friends, you can use the Serv-u symbolic information parameter to display some important information to the client side.
Like what:
Mon Dec 10 22:32:46 2001 220-==============================
Mon Dec 10 22:32:46 2001 220-Server Status:
Mon Dec 10 22:32:46 2001 220-now time: 22:35:40, in the past 24 hours a total of 1578 people access this server.
Mon Dec 10 22:32:46 2001 220-This server has been running 0 days 11 hours 37 minutes 55 seconds
Mon Dec 10 22:32:46 2001 220-Disk free space: 1098.11 Mb
Mon Dec 10 22:32:46 2001 220-Total logged-in users: 1121 sum
Mon Dec 10 22:32:46 2001 220-Current number of users: 10/40
Mon Dec 10 22:32:46 2001 220-Total download data: 8713447 Kb
Mon Dec 10 22:32:46 2001 220-Total uploaded data: 291923 Kb
Mon Dec 10 22:32:46 2001 220-Total download files: 2391
Mon Dec 10 22:32:46 2001 220-Total uploaded files: 15
Mon Dec 10 22:32:46 2001 220-average flow: 215.105 kb/sec
Mon Dec 10 22:32:46 2001 220 Current flow: 68.511 kb/sec
The information that can be displayed includes:
Sign-on/sign-off messages Check-in/out information
User specific Login Messages users specify logon information
Directory Change messages Catalog changes information

You can add symbolic parameters to the specified text of the message, which expands to the current state when it is sent to the customer.
These symbol parameters start with a "%", and the following is a complete list
Time/date: Time part
%time-displays the current times on your PC server side
趖 E-displays The current date on your PC server side
Statistics: State Statistics section
%serverdays-displays the number of days the server has been running servers have been running (day)
%serverhours-displays the number of hours the server has been running servers have elapsed (hours)
%servermins-displays the number of minutes the server has been up server elapsed time (minutes)
%serversecs-displays the number of seconds the server has been up server elapsed time (seconds)
%serverkbup-displays the No. Kbytes the number of bytes received by the server after the uploaded to server since server start is started this time
%serverkbdown-displays the No. Kb downloaded the number of bytes sent by the server since this startup from the server since server start
%serverfilesup-displays the No. The number of files that the server has received since the uploaded to the since server start started this time
%serverfilesdown-displays the No. The number of files sent by the server since the downloaded from the "server since" start this time
%loggedinall-displays Total No. The number of users who logged on to this computer since the logged in users since server start started this time
%serveravg-displays the server's average throughput since the start of the average server throughput since server start
%serverkbps-displays the current server bandwidth usage
Server Settings: Servers setting
%maxusers-displays the maximum No. of users, as set in ' Setup-server ' Maximum number of users
%maxanonymous-the Maximum No. of anonymous users, as set in "Setup-server" Maximum number of anonymous logged-in users
User info: Users settings
%name-displays the user ' s login name displays the username
%ip-displays the user's IP number or name if available displays the IP of the logged-in users
%dir-displays the user ' s current directory
%disk-displays the user ' s current disk drive display the users ' active disks
遰 ee-displays The amount of free spaces on the user's current disk in Kb show available space
%fup-displays the number of files uploaded by the current user upload numbers
齩 wn-displays The number of files downloaded current user downloads
%ftot-displays The total number of files transferred displays the current user transfer
%bup-displays the number of Kbytes uploaded by the user displays the total bytes uploaded by the current users
To wn-displays the number of Kbytes downloaded by the user displays the total bytes downloaded by the current users
%btot-displays the total number of Kbytes transferred displays the current user bytes transferred
%tconm-displays The total connect time in minutes display connection times (minutes)
%tcons-displays the connect time in Seconds-to is used with "%tconm" to show connection times (seconds)
%ratioup-displays the "upload" ratio part for UL/DL ratios displays the "upload percentage" in the current user upload/download ratio
%ratiodown-displays the "Download" ratio part for UL/DL ratios displays "percent download" in the current user upload/download ratio
%ratiocredit-displays the current download credit for UL/DL ratios (Kb or "files") displays the number of bytes that can also be downloaded by the user
The following is a display of quotas
%quotaused-displays How much disk quota are used in Kb show quota used parts
%quotaleft-displays How much disk quota are left in Kb show quota remainder
%quotamax-displays the maximum amount of disk space this can is used in Kb number of users: Disk maximum Available bytes
%unow-displays the current number of Serv-u users connected currently connected to the server
%uall-displays the number of users since the server was started this startup since this time
%u24h-displays the number of users in the last hours 24 hours since the server was connected
Number of anonymous users%uanonall-all currently logged in anonymous users currently connected to the server
%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 and the current user name logged to this IP home
Here is an example:
Welcome you to visit our server in 趖 e%time, you are the first%unow user, the biggest
The number of users for%maxusers, in the last 24 hours, a total of%u24h friends visit here.
Note that the client side displays only 80 characters per line, and the return code takes up 4 characters. Therefore, it is recommended that you define information for up to 70 characters per line.
Recommendation: Self-built FTP friends, the proposed use of the following symbols:
%disk-User Current disk drive
遰 ee-User's current remaining space (KB)
%quotamax-Maximum free disk space (KB)
In order to give the uploaded friends know the current space available.
Of course you can set a limit:
Menu-->setup--->users ...---->quota:enable disk Quota:Maximum:XXXMB
This can be used
%quotaused-How much quota space has been used (KB)
%quotaleft-How much less quota space can be used (KB)
%quotamax-Set quotas
It is recommended that you add these macros to the login information and directory change information, which makes it much easier to use the FTP person.
*************************************************************************************
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 is entered in the message text. These parameters are expanded while being sent to a client. They all begin with '% '. This is the complete list:
Time/date
%time-displays 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 the files uploaded to the server since server start
%serverfilesdown-displays the No. of the 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 spaces 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
To 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 is 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 ul/dl ratios (Kb or ' files ')
%quotaused-displays How much disk quota are used in Kb
%quotaleft-displays How much disk quota are left in Kb
%quotamax-displays the maximum amount of disk spaces that can is 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 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 to this IP home
The file upload and download message directives are for the "current session only" i.e. multiple sessions).
The '%serverdays ', '%serverhours ', '%servermins ', and '%serversecs ' directives are for use meant.  The number of hours is what "s" 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!
The local time is%time, and%u24h users have visited on the last hours. This server has been up for%serverdays,%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 this average client has only characters each line, and the "the" and "four" are Code. Please be brief, characters should generally is considered a safe maximum.
Serv-u help-copyright 1995-2001 cat-soft, all Rights Reserved
==================================================================================================
Mould Plate
★★★★★★★★★★★★★★★★★★★★★★★★★
Hello, friends from%ip.
local time is 趖 e%time
Server has been working continuously:%serverdays days%serverhours hours%servermins minutes%serversecs seconds
Since the opening of the site has been connected%uall user.
There has been a total of%u24h connections in the last 24 hours.
The anonymous user limit is%maxanonymous people. Only two processes per IP
There are currently%unow users online.
Where anonymous users have%uanonall people online.
★★★★★★★★★★★★★★★★★★★★★★★★★
Since the site opened a total upload/download |%serverkbupkb/%serverkbdownkb
Since the opening of the site has been a total upload/download |%serverfilesup a/%serverfilesdown
Server Current Traffic |%serverkbps kb/sec
Server average traffic |%serveravg kb/sec
★★★★★★★★★★★★★★★★★★★★★★★★★
Your current space capacity is |%quotamax/kb.
You currently use a total of |%quotaused/kb
Your current space surplus |%quotaleft/kb
★★★★★★★★★★★★★★★★★★★★★★★★★
Welcome friends from%ip to visit the FTP server!
It's Beijing time:%time, 趖 E
Since the opening of the site has been connected%uall user
Server This run time%serverhours hour 0%servermins minutes
The server%disk disk also has the remaining space 遰 EE MBytes.
There has been a total of%u24h connections in the last 24 hours.
You are the first%uall visitors since this operation.
Current number of%unow
This time flow statistics → download:%serverkbdownk upload:%SERVERKBUPK.
There are currently anonymous%uanonall connections, with a total of%maxanonymous connections allowed.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.