![]() |
Proftp Port change - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Proftp Port change (/thread-3265.html) |
Proftp Port change - albatros - 05-10-2008 07:07 AM 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;// } 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"; |