Re: FTP Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Warning: ftp_put(): php_connect_nonb() failed: No route to host (65) in
> /home/beachgla/public_html/catalog/update/index.php on line 475
This tells me that you are unable to find/connect to the "ftpServer" that you are giving ftp_connect()


I am wondering if your conditional was not working like it should, try this instead

if ( $conn_id && $login_result ) {
	echo "Connected to ftp server, for user user";
} else {
	echo "FTP connection has failed";
	echo "Attempted to connect to ftp server for user username";
	exit;
}


Jim Lucas

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux