Quickly build a local FTP server
?? If you need to develop FTP file upload and download function, then you need to build a local FTP server on this machine, convenient debugging.
First Step: Configure IIS Web server 1.1 in the control panel to find "programs" and open
1.2 Program Interface Find "Turn Windows features on or off" and open
1.3 The above two steps can also be simplified as a step: Press "Win + R" shortcut to open the Run dialog box, enter "Optionalfeatures", press ENTER
1.4 From the Enable or disable Windows features pop-up window, locate the Internet Information Services (or the Chinese version of Internet Information Services) and open
1.5 Configure IIS and click OK
Step Two: Configure the IIS Web site 2.1 Start menu to search for "IIS" and click into IIS Manager
2.2 New FTP Site 2.2.1 new FTP Server root folder
2.2.2 View native IP address, subsequent access to the FTP address needs to be used (open cmd input ipconfig)
2.2.3 the left navigation bar of the IIS Web Site Manager interface find the Web site, right-click popup menu
2.2.4 IIS Web Site Manager "Web site" right-click the pop-up menu and tap "Add FTP Site"
2.2.5 Configuration Web site (site name: ftpsite physical path: E:\ftpserver Native IP address (selected from the drop-down menu): 192.168.0.105)
FTP site name and physical path settings
IP Port number SSL settings
Authentication and authorization information settings
Step three: Test the FTP site (first in the physical path: E:\ftpserver a file) 3.1 browser or File Manager address bar Enter the FTP address (ftp://192.168.0.105)
?? Enter the FTP address to find the need for users and passwords (this is the case, some default can be directly accessed), but the configuration process does not seem to see the steps to set the user and password, it's OK, we can set ourselves.
3.2 FTP authentication inside IIS Manager is configured to enable anonymous authentication (no password)
3.3 Re-test, browser or File Manager address bar Enter the FTP address (ftp://192.168.0.105)
3.4 Configuring the FTP site user name and password 3.4.1 FTP authentication in IIS Manager configure disable anonymous authentication while enabling Basic authentication (the user name and password will be required for re-access)
3.4.2 Create a new user and set a password for this computer (desktop computer icon right), Local users and groups, manage
Note: careful you can already find that the account here is our computer account, so we should be able to use their own login to the computer's user name and password to login to the FTP site, do not need to create a new test user can.
3.4.3 re-test, browser or File Manager address bar Enter the FTP address, enter the user name: Test, Password: Test (ftp://192.168.0.105)
?? To this a simple FTP server build successfully, the same LAN other people can access to your computer, you can transfer files to each other. Transfer file is a purpose, this article is intended to be used as a Java upload download Project test server.
FTP Upload Download Project address
?? https://github.com/PopFisher/FTPSync
Ftp-iis Web