Open Server Manager in Server2012, select Add roles and features, add FTP server under Web Service
Click Install
We now create a name for the FTP folder in the C-disk, create an FTP file inside, do the test,
Open Server Manager, select IIS Manager
Right-click the website and select the reduced FTP site
Add the FTP name, this is called FTP, select the physical path, click Next
Tick automatically start the FTP site (not selected, you can start the effect manually) select No SSL, click Next
Authentication selection Basic, authorization to select all Users, permission to select Read (experimental request is read-only FTP), click Finish
After we have created the FTP site, we test the client, access the ftp://192.168.10.102 (Ftp://+ip address) through the browser (Windows Explorer), enter the username and password, and here I log in with the Administrator account (no new user, Have a lazy)
We'll be able to see our test files when we log in.
below to detect whether this FTP is read-only FTP, first we have to rename, found no permissions
Below we download the file to the desktop, the feasible
Create a new TXT document, the content is random, the name is called new text document
We uploaded the newly created document (dragged and uploaded) and found no permission
Then, read-only FTP is complete and go to the next topic
Example: Deploy a readable and writable FTP site (download, upload)
Readable writable FTP site, with a read-only FTP site, there is no big difference, as long as the choice of permissions, read and write all hook can, other places of configuration, reference read-only server
Enter today's play, deploy user-isolated FTP sites, each user can only manipulate the user's directory, and not see other user directories
Example: Deploying a user-isolated FTP site
Step 1: Create a user on the FTP server
First we need to create a new user, here 3 new users, the name is as follows (experimental environment, random) ZC,SY,GCH
Step 2: Create a user directory
Ftproot\localuser\ User Directory
FTPROOT\LOCALUSER\ZC Ftproot\localuser\sy FTPROOT\LOCALUSER\GCH
Excerpt from: http://www.myhack58.com/Article/sort099/sort0100/2015/63194.htm
Build a Windows server FTP server