1, create a new FTP site
Execute the Start]→[program]→[Administrative Tools]→[internet Server Manager command to open the Internet Information Services dialog box.
Right-click the server node, select the new]→[ftp site command from the pop-up shortcut menu, open the Welcome to the FTP Site Creation Wizard dialog box, click the Next button, eject the FTP Site Description dialog box, and enter the description text for the site in the Description text box, such as " FTP download site, and then click the Next button;
Open the IP Address and Port Settings dialog box, select or enter the IP address directly in the "Enter the IP address used by the FTP site" Drop-down list, and set the TCP port value to "21", and click the Next button to continue;
pops up the FTP Station Home Directory dialog box, enter the path to the home directory in the Path text box, and then click the Next button;
The FTP Site Access Permission dialog box opens with only two access rights for the FTP site: Read and write. The former corresponds to download permissions, the latter corresponds to upload permissions, click [Next] to continue in the Last pop-up dialog box click the [Finish] button to complete the creation of the site.
2. Create a virtual directory
The home directory is the primary location where the site files are stored, and the virtual directory stores the data in the form of a mapped folder in the home directory to better expand the storage capabilities of the FTP server.
Right-click the FTP site where you want to set up the virtual directory, and select the new]→[virtual directory command from the pop-up menu.
Open the Virtual Directory Creation wizard and click the Next button to specify a virtual directory alias in the alias text field in the Virtual Directory Alias dialog box, such as "Data Download"
Click the browse button in the FTP Site Content Directory dialog box to set the actual path for the virtual directory
In the Access Permissions dialog box, set the user access permissions allowed for the virtual directory, select Read or Write permissions, and click Next to complete the virtual directory settings.
By the same token, we can also create a virtual directory called "Data upload." In the IIS Admin interface, click to expand the FTP site to locate the newly created virtual directory
3, the site maintenance and management
View Connected Users
Right-click the FTP site, select Properties from the pop-up menu, and open the FTP Sites tab. Here you can configure the content of the site description, IP address, and TCP port number. Also, you can set the maximum number of concurrent connections to connect to the site at the same time in the connection
Click the Current User button to open the FTP User Session dialog box, where you can view a list of users currently connected to the FTP site, select users from the list, click Disconnect, and disconnect the current user
Setting up FTP station messages
The FTP site message is divided into three categories: welcome, exit, maximum number of connections. On the Message tab, you can set the the welcome message is used to introduce information about this site to each visitor who is connected to the current site, the exit message is used to send information to the site visitor when the customer disconnects, and the maximum connection number message is used when the system has reached a maximum number of simultaneous connections. Send a prompt message to a new visitor who is requesting to connect to the site, and then click OK when you are done
Configuring anonymous Logins
Right-click the FTP site, select Properties from the pop-up menu, and click to select the Security Account tab. In the default state, the current site is allowed anonymous access.
If you select the "Allow Anonymous connections" option, the FTP server will provide an anonymous Logon service.
If you select the "Allow Anonymous logins only" option, you can prevent access to an account with administrative privileges, even if the administrator account does not log on, thereby enhancing the security management of the FTP server
Modify Home Directory Folder
Select the Home Directory tab, where you can use the Home Directory property sheet to change the home directory of the FTP site and modify its properties. Click the browse button to change the location of the home Directory folder store for the FTP site. If you plan to change the home directory read and Write permission changes, you can choose whether to allow read and write permissions. For further security of the server, it is recommended that you select the Log access option so that you can synchronize the operations on the FTP site so that when the server fails, the log files are checked for failures.
Secure access
Click to select the Directory Security tab, where you can control the computers that access the FTP server by restricting certain IP addresses. Select the grant access or deny access option to adjust how these IP addresses are processed, and click the Add button to add an IP address to control access from a secure IP address
4, access to the FTP server
Here's a test to see if the FTP server is working properly.
First, add a file named Pic.bmp to the F:\inetpub\ftproot folder
Start Cutftp, configure the properties of the FTP site, and then click the Connect button to connect to the FTP site
Pop up a Welcome to the dialog box, click the [OK] button to end, you can open the directory of the main FTP site, this time you can upload and download tasks.