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