SymptomsAfter installing Parallels Plesk Panel 10.1, the custom-configured port range for FTP breaks, making it impossible to connect. The installation breaks before basic FTP authentication is enabled:
Enable basic FTP authentication in IIS:
C:\Windows\System32\inetsrv\appcmd.exe set config -section:system.applicationHost/sites /siteDefaults.ftpServer.security.authentication.basicAuthentication.defaultLogonDomain:"" /commit:apphost
Configure custom port range for passive FTP:
C:\Windows\System32\inetsrv\appcmd.exe set config -section:system.ftpServer/firewallSupport /lowDataChannelPort:"55815" /highDataChannelPort:"55825" /commit:apphost
You install Parallels Plesk Panel 10.1 and see that FTP does not work. The Parallels Plesk Panel installation does not reflect the custom FTP IIS settings.
ResolutionParallels Plesk Panel doesn't manage the basic FTP authentication option at all. The wrong command was used for it. The right command is as follows:
C:\Windows\System32\inetsrv\appcmd.exe set config -section:system.applicationHost/sites /siteDefaults.ftpServer.security.authentication.basicAuthentication.enabled:"True" /commit:apphost
The port range for passive FTP is managed by Parallels Plesk Panel and is reset to the Windows default dynamic port range during Parallels Plesk Panel installation and saved in the Parallels Plesk Panel system database. The Windows default dynamic port range can be obtained with the following command:
netsh int ipv4 show dynamicport tcp
The default value of the Windows default dynamic port range is often 49152-65535.
Also, if the port range for passive FTP (which is FTP Firewall Data Channel Port Range in IIS 7.5 GUI) is equal to the Windows default dynamic port range and may be represented as "0-0." See IIS 7.5 for help:
You can enter a special port range of "0-0" to configure the FTP server to use the Windows TCP/IP ephemeral port range, which is often set to use ports 1025 through 5000 by default.
Note: To change the port range for passive FTP after Parallels Plesk Panel installation, you have to use Parallels Plesk Panel GUI or the ftpmng.exe tool. For example:
"%plesk_bin%\ftpmng.exe" --set-ftp-passive-port-range --range="50000-55000"