I changed the port in /etc/proftpd/proftpd.conf to 32221.
In the file /etc/ispcp/proftp/proftp.conf i changed it too.
It work fine, i can access my ftp server via port 32221, various functions in the control panel are therefore not possible. e.g.:
1. When i want to edit the start directory for an ftp user it says that the dir can't be opened.
2. Also the tool filemanger (net2ftp;
http://domain.tls/tools/filemanager/) doesnot work correctly.
I found a conclusion how to make the filemanager work, but it is very low:
Change /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php In the following way:
Code:
/*if ($net2ftp_globals["ftpserverport"] < 1 || $net2ftp_globals["ftpserverport"] > 65535 || $net2ftp_globals["ftpserverport"] == "") {*/ $net2ftp_globals["ftpserverporterport"] = 32221;// }
So it doesnot check the Port anymore, just set the port to 32221. IMHO not a good solution.[/code]
Where can i change the port of proftpd that everything fits together after changing?
Sorry my english is bad...
EDIT:
I found out: there is no need to "hack" the net2ftp-thing. just edit /var/www/ispcp/gui/tools/filemanager/settings_authorizations.inc.php
Code:
$net2ftp_settings["allowed_ftpserverport"] = "32221";
And everything works fine THERE, only there!