actually, i check my connection with this code :
$conn_id = ftp_connect($ftp_server);
login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
if ((!$conn_id) || (!$login_result)) {
echo "Connection FTP failed!";
die;
} else {
echo "Connected to ".$ftp_server;
}
with $ftp_server as an IP Address, ftp_connect() return false. if i use an host name like ftp.multimania.com ,for instance,it works....