Re: FTP (via firewall)

From: Date: Wed, 18 Feb 2004 10:27:19 +0000
Subject: Re: FTP (via firewall)
Groups: php.general 
Request: Send a blank email to php-general+get-178083@lists.php.net to get a copy of this message
Please explain exactly what the problem is. If you had a firewall in the way and a normal FTP client couldn't login then whatever you do in PHP would not be able to get you in either.
(from php.net) $conn_id = ftp_connect($ftp_server); $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); if ((!$conn_id) || (!$login_result)) {
     echo "FTP connection has failed!";
     echo "Attempted to connect to $ftp_server for user $ftp_user_name";
     exit;
} else {
     echo "Connected to $ftp_server, for user $ftp_user_name";
} ... This is simple, but I have firewall.... How to enter firewall ip....

« previous php.general (#178083) next »