1.powershell执行:
Set-WebConfiguration "/system.ftpServer/firewallSupport" -PSPath "IIS:\" -Value @{lowDataChannelPort="60000";highDataChannelPort="60020";}
2.powershell执行:
Restart-Service ftpsvc
3.防火墙配置放行端口范围
\原文:
https://www.server-world.info/en/note?os=Windows_Server_2019&p=ftp&f=2
windows2012/2016/2019 iis自带ftp被动端口修改
原文:https://www.cnblogs.com/kobewang/p/15146935.html