note 96477 added to function.ftp-put
| From: | Svinto at osu1 dot php dot net | Date: | Mon, 01 Mar 2010 12:58:25 +0000 |
| Subject: | note 96477 added to function.ftp-put | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166465@lists.php.net to get a copy of this message | ||
I got the same error as "Anonymous 26-Apr-2009 02:51"
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-put.php
Edit -- https://master.php.net/note/edit/96477
Del: integrated -- https://master.php.net/note/delete/96477/integrated
Del: useless -- https://master.php.net/note/delete/96477/useless
Del: bad code -- https://master.php.net/note/delete/96477/bad+code
Del: spam -- https://master.php.net/note/delete/96477/spam
Del: non-english -- https://master.php.net/note/delete/96477/non-english
Del: in docs -- https://master.php.net/note/delete/96477/in+docs
Del: other reasons-- https://master.php.net/note/delete/96477
Reject -- https://master.php.net/note/reject/96477
Search -- https://master.php.net/manage/user-notes.php