Change FTP port in Backup.
In admin backup function, a user must enter the Ftp-Server, Path, Username and Password but there is no option to modify the port.
I want to backup to a server on a private port.
I have tried many formats but only receive this error "The name of the FTP server contains invalid characters."
Question is, how do I change the default port in the backup function to connect to the port our secure server is listening on??
You will have to change it in the source code of the file /home/admispconfig/ispconfig/web/tools/tools/backup/backup.php
by changing the line 168 from:
$conn_id = @ftp_connect("$ftp_server");
$conn_id = @ftp_connect("$ftp_server",1234);
were 1234 is the number of the port.
Thanks very much Till (Y)
|All times are GMT +2. The time now is 09:30.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.