Method and setting method of erecting FTP server with serv-u _win server

Source: Internet
Author: User
Tags anonymous current time ftp site parent directory time and date ftp client
Serv-u is a widely used FTP server-side software that supports the Windows 9X/2000/XP operating system. It is simple to install, powerful, you can use the same IP to set multiple FTP servers, limit the permissions of the Logged-in user, the main directory and space size, support remote login management.

1. Install Serv-u
Serv-u installation is quite simple, you just double-click the download to the installation file file, follow the prompts to click the "NEXT" button to easily complete.

Note: When choosing an installation directory, it is best to choose to install it on a system-only disk, so as to avoid the need to reset your account when an exception occurs in the future.

2. Set Serv-u
Serv-u prompts the user step-by-step to set up the first time the wizard runs. Below, we explain separately:

"Your IP Address": If you are using ADSL, such as dial-up Internet access, has a dynamic IP or do not know the native IP, here please leave blank.

"Domain Name": This is the name of the FTP site, can be named randomly. For example, Myftp.

Anonymous account: Determines whether anonymous users are allowed to access the FTP site. Select the Yes option.

Anonymous home directory: Sets the location of the directory where anonymous users log on to the site. Enter "C:\FTP".

Locked in home directory: Assuming that the directory location of the anonymous user is set to "C:\Ftp\Guest" in the anonymous home directory, then after "Yes", when the anonymous user logs on to FTP, it is locked in the C:\Ftp\Guest directory and can only view the contents of the Guest directory. , you cannot go to the parent directory "FTP", and the directory appears as "\" in the FTP client software, and if it is not locked, it is fully displayed as "C:\Ftp\Guest". Select "Yes" here.

"Named account": decide whether to create an account with certain administrative privileges. Select "Yes" here.

"Account name": is a certain administrative rights of the account login name.

"Account password": Set the login password for the account.

Home directory: The same as the anonymous home directory, which is used to set the location of the directory where the admin account is logged in. Enter "C:\FTP".

"Locked In Home Directory": select "Yes".

"Administrator rights": used to set administrative permission levels for administrative accounts. Select "No permission" here.

Tip: These settings are not final, and you can modify them at any time in the Serv-u main interface.

3. Use the same IP to set up multiple FTP servers
If bandwidth allows, you can also use the same IP to easily set up multiple servers. In Serv-u, each FTP server in the domain under local server is called domain, and the FTP server we created above is a domain called "myftp". To set up multiple servers, you actually create multiple domains that have different ports.

Right-click Fields, select New domain, and in the wizard that appears, set the reference to "Myftp", except that you must not conflict with the port of the domain that you created or the port that is occupied by other system services on the port. If you fill in 22. The same operation, you can set up multiple FTP server.

4. Make your FTP more professional
When you login to some professional FTP station, will show some welcome information, such as display your IP, tell you how many people are using FTP, bandwidth is how much, etc. Actually oneself also can do, serv-u itself has this function. Here is how to add this information in your own intranet FTP.

First create a text file, just pick a name. such as Message.txt.

Then add the explanatory text to the text file. For example:

Welcome to XXX's personal FTP server

Your IP address is%ip.

The time the server is currently located is%time

There have been%u24h users who have accessed this ftp in the last 24 hours

This FTP server has been running for%serverdays days,%serverhours hours and%servermins points.

Server operation

Total number of logged-in users:%loggedinall Total

Number of users currently logged in:%unow

Bytes already downloaded:%serverkbdown Kb

Number of bytes already uploaded:%serverkbup Kb

Number of files already downloaded:%serverfilesdown

Number of files uploaded:%serverfilesup

Server average bandwidth:%serveravg kb/sec

Server Current Bandwidth:%serverkbps kb/sec

where xxx can be changed to your name, you can add some words you think you like, but note that each row is best not more than 80 characters, which begins with a% of the variables, the following is serv-u can support variables:

(1) Time and date

%time displays your computer's current time

%date display your computer's current date

(2) Server statistics

%serverdays shows the number of days the server has been running

%serverhours displays the number of hours that the server has been running

%servermins displays the number of minutes that the server has been running

%SERVERSECS displays the number of seconds that the server has been running

%serverkbup shows the number of bytes that have been uploaded since the server was run

%serverkbdown shows the number of bytes downloaded since the server was run

%serverfilesup shows the number of files that have been uploaded since the server was run

%serverfilesdown shows the number of files that have been downloaded since the server was run

%loggedinall shows the number of users who have logged on since the server was run

%SERVERAVG displays the average bandwidth of the server

%SERVERKBPS displays the current bandwidth of the server

(3) Server settings information

%maxusers Displays the maximum number of users that the server can log on at the same time

%maxanonymous Displays the maximum number of anonymous users that the server can log on at the same time

(4) User information

%name Displays the user name of the login

%IP Displays the user IP address of the login

%DIR displays the current directory of the logged-in user

%disk displays the current disk of the logged-on user

%dfree Displays the current disk space of the logged-on user in MB

%FUP displays the number of files uploaded by the logged-in user

%fdown displays the number of files downloaded by the logged-on user

%ftot Displays the total number of files uploaded and downloaded by the logged-in user

%BUP Displays the number of bytes uploaded by the logged-on user, in kilobytes

%bdown Displays the number of bytes downloaded by the logged-on user, in kilobytes

%btot Displays the total number of bytes uploaded and downloaded by the logged-in user, in kilobytes

%TCONM Displays the logon user connection time, in minutes

%tcons Display logon user connection time, in seconds, to be used with%TCONM

%ratioup Displays the upload traffic limit for logged-in users

%ratiodown shows the download traffic limit for logged-in users

%ratiocredit show how much credit can be uploaded and downloaded, this is for some FTP is to upload how many files, can download how many files and set

%quotaused shows how much space has been used by the logged-in user, in kilobytes

%quotaleft shows how much more space is available for logged-in users, in kilobytes

%quotamax Displays the maximum space for logged-in users, in kilobytes

The following 3 are set for users with disk restrictions

(5) Number of users

%unow shows how many users are currently connected

%uall shows how many users have been connected since the server was run

%U24H shows how many users have been in the last 24 hours

%uanonall Displays the current total number of anonymous users

%UANONTHISIP displays the number of users who have anonymous logins

%unonanonall displays the number of users who are currently not anonymous logins

%UNONANONTHISIP Displays all non-anonymous logged-in users

%uthisname shows the number of users logged in using this name

Finally in your serv-u in accordance with the set of File path settings completed, click the "Application" button that is done!

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.