View Single Post
  #5  
Old 9th February 2010, 17:03
Nicke Nicke is offline
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 8
Thanked 14 Times in 9 Posts
Default

Quote:
Originally Posted by HiresAli View Post
I did everything, but i got an error message:


Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/webftp/includes/filesystem.inc.php on line 53
An error has occured

Unable to connect to FTP server on port 21.

What did i wrong?

Debian 5
Ispconfig 3.0.1.1
Point 31

Code:
$ftp_server=trim($_GET['servername'], '"');
should be

Code:
$ftp_server=trim($_GET['servername'], '\"');

Last edited by Nicke; 9th February 2010 at 17:05.
Reply With Quote