I try to use the php ftp_connect fucntion on my dedicated server and I'm unable to establish a connection:
$conn_id = ftp_connect($ftp_server, 21) or die("Unable to connect to $ftp_server") ;
I'm sure the function is available as I test with :
function_exists('ftp_connect')
and it returns true
When I ftp the server through the shell I can reach it so I guess it's not a firewall issue. Am I missing something else ?
Thanks for your precious advices