Computer Tutorial: Building an FTP Server under Win 2003

  

Win 2003 Standard Edition, Windows 2003 Enterprise Edition, Windows XP Professional, Windows 2000 Server, Windows 2000 Advanced Server, and Windows 2000 Professional have IIS installed by default. IIS is not installed by default during system installation. After the system is installed, you can add IIS by adding and removing programs.
IIS is a set of integrated system components set up by Microsoft to set up WEB, FTP, and SMTP servers, bundled in the server system of the NT core. This article aims to provide FTP service to the Internet through the Windows2003 IIS component with alloy Wanwei g dynamic domain name resolution software.

Step 1: Install the Windows 2003 IIS FTP component

Add/Remove Programs in Control Panel ——Windows Component Wizard——Application Server——Internet Information Service ( IIS) selects "File Transfer Protocol (FTP) Service". As shown below:

After selecting the service to be installed, the installation wizard will prompt you to insert the Windows 2003 installation CD. At this time, you insert the installation disk and follow the prompts to install. FTP in IIS will be automatically automatic. The installation is complete.

Step 2: Configure the FTP server
Open the program ——Administrative Tools——Internet Information Services (IIS) Manager——FTP site, (can also be entered on the fly) INETMGR enters the manager).


In the IIS FTP component, each site of FTP can only correspond to one port, and each site can only correspond to one global directory. The order of permissions can be understood as the site >= virtual path. If you need to establish an anonymous access FTP service and an FTP service that requires authentication, you need to establish two sites and use two different ports. First, we set up an FTP site that requires authentication. When the Internet logs in to the FTP service, authentication is required to obtain a trusted connection with the FTP server. Go to the program ——administrative tools——computer management——local users and groups——users. Create a new user aamm here, do not need to give any permissions, complete the establishment of the user process.

Enter Internet Information Services (IIS) Manager Default FTP Site Properties
Do not select "Allow anonymous connections" in the security account, otherwise anyone can connect to your global directory via FTP. The FTP site directory in the home directory is selected to the upper directory of the external service file directory. If you do not want the sub-sites under this site to have write permissions, the write permissions do not need to be selected. If there is a sub-site under this site that needs to have write access, then the global site FTP permissions must be written. If you feel unsafe, you can transfer the FTP directory data to an empty partition or subordinate directory. For example, if the aamm account corresponds to the D:\\aamm directory, then the FTP global site directory must be D:\\.




Now, the FTP service interface is already available to the Internet, but no user can actually access the resources from your FTP. We need to map the aamm user we just created to the FTP directory. Many friends have asked before, why is there no place for Microsoft FTP to set up an account, can only be set anonymous or non-anonymous? In fact, it is ok, but it requires a little trick. Right click FTP default site ——create new——virtual directory—— virtual directory alias input aamm—— select aamm corresponding access directory and give permission —— complete virtual directory alias is user login name , corresponding to the user in the user table. We can establish FTP users through the system to correspond to FTP sub-site directories of different sites. Of course, a user can correspond to multiple paths, and we need to use FSO permissions to control.









FTP server. In the test process, in order to facilitate the use of Windows 2003 comes with FTP commands for testing.


If the test is successful, visitors on the Internet can access your ftp directly by typing ftp://yourip.com in the IE browser.

Copyright © Windows knowledge All Rights Reserved