This guide explains how to enable passive FTP transfer mode on servers with Plesk.
Part 1 - Configure FTP Server
- Login as “root” user on the server over using SSH
- Edit your ProFTPD configuration file
- [optional] Backup the file:
cp /etc/proftpd.conf cp /etc/proftpd.conf~ - Edit /etc/proftpd.conf (this example uses vi, please feel free to use nano or any other editor you are comfortable with):
vi /etc/proftpd.conf - In the [Global] section, add the following line:
PassivePorts 49101 49150 - Save the file
Part 2 - Open ports in Plesk Firewall
- Log in to Plesk as “admin” user, go to Server* > Firewall, and click Edit Firewall Configuration
- Click Add Custom Rule
- Specify the following:
- Properties
- Name of the rule: Allow Passive FTP
- Match direction: Incoming
- Action: Allow
- Ports
- Add port or port range: 49101-49150
- TCP: Selected
- Click Add
- Properties
- Click OK
- Click Apply Configuration
- Click Activate
* If you have an older version of Plesk, the firewall is located in the Modules section, and the wording may differ slightly.