1、IIS設置Ftp數據端口
2、在Windows服務中重啟Ftp服務
3、安全組中添加訪問規則
如何安裝FTP?
添加角色IIS,選擇上FTP服務
打開IIS,右擊網站,添加FTP站點
允許訪問的指定用戶,必須是Windows系統真實存在的用戶,為了安全起見,此用戶只賦予user組即可,不能賦予遠程桌面權限
如果FTP服務器必須開啟防火牆,我們指定客戶端連接進來服務端時使用的端口為19000-19010
防火牆的外部IP地址,是FTP服務端的公網IP
How to configure a passive FTP port range in Plesk for Windows?
-
Connect to the server using RDP.
-
Specify passive FTP port range in IIS Manager:
2.1. Open Internet Information Service (IIS) Manager:
-
in Windows Server 2008 and 2008 R2: go to Start > Administrative Tools > Internet Information Service (IIS) Manager.
-
in Windows Server 2012 and newer: go to Start > Server Manager > Tools > Internet Information Service (IIS) Manager.
2.2. In IIS Manager, go to server_hostname > FTP Firewall Support:
2.3. Specify the passive FTP port range in the field Data Channel Port Range and click Apply to save the changes:
-
-
Restart Microsoft FTP Service:
3.1. Open the Services snap-in:
-
in Windows Server 2008 and 2008 R2: go to Start > Administrative Tools > Services.
-
in Windows Server 2012 and newer: go to Start > Server Manager > Tools > Services.
3.2. In the list, select Microsoft FTP Service and click Restart the service:
-