0、操作系统
windows 2016 64位 数据中心 中文版
1、安装 FTP 服务器
打开“Windows PowerShell”

2.安装 “FTP server”
Install-WindowsFeature Web-Ftp-Server

3.安装 “Web管理工具”
Install-WindowsFeature Web-Mgmt-Tools

4.安装 “应用程序初始化”
Install-WindowsFeature Web-AppInit

5.打开服务管理器 à IIS à 找到服务器名称“xxx”点击鼠标右键 à 点击“Internet Information Services (IIS)管理器”

6.添加“FTP站点”,ftp路径选择默认生成的“C:\\inetpub\\ftproot”


7.绑定和SSL设置

8.身份验证和授权信息

9.设置用户,这里使用administrator,

10.测试连接两项都是通过的

11.配置完成后在“cmd”中执行下面两条命令。
1、sc sidtype ftpsvc unrestricted(将ftp服务的注册卸载)
如果运行没有反应,可以直接先跳过
2、net stop ftpsvc & net start ftpsvc(重启ftp服务)

12、测试连接


13.测试上传

