note 96476 added to function.ftp-fput
| From: | Svinto at osu1 dot php dot net | Date: | Mon, 01 Mar 2010 12:56:43 +0000 |
| Subject: | note 96476 added to function.ftp-fput | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166464@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 91.201.60.253
----
Manual Page -- http://www.php.net/manual/en/function.ftp-fput.php
Edit -- https://master.php.net/note/edit/96476
Del: integrated -- https://master.php.net/note/delete/96476/integrated
Del: useless -- https://master.php.net/note/delete/96476/useless
Del: bad code -- https://master.php.net/note/delete/96476/bad+code
Del: spam -- https://master.php.net/note/delete/96476/spam
Del: non-english -- https://master.php.net/note/delete/96476/non-english
Del: in docs -- https://master.php.net/note/delete/96476/in+docs
Del: other reasons-- https://master.php.net/note/delete/96476
Reject -- https://master.php.net/note/reject/96476
Search -- https://master.php.net/manage/user-notes.php