note 96476 deleted from function.ftp-fput by danbrown

From: Date: Mon, 01 Mar 2010 15:58:59 +0000
Subject: note 96476 deleted from function.ftp-fput by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-166487@lists.php.net to get a copy of this message
Note Submitter: Svinto ---- I got the same error as "timgolding_10 at hotmail dot com 26-Apr-2009 02:48" But ftp_pasv didnt solve the problem. Here's why: FTP uses 2 connections on different ports, one for connection/handshake and another for data transfer. The problem was that the ftp-server (that php was connecting to) also used different IP-addresses for the different connections (say what!?). Normally the firewall (csf) detects ftp-connections and allows them through but because of the different IP-adresses this didn't work. Solution: 1 angry mail to the ftp server owner. Allowing the second IP in the firewall.

« previous php.notes (#166487) next »