Bug #30894 [Com]: Warning: ftp_put(): PORT command successful in...
| From: | iletisim at kursadaltan dot com | Date: | Tue, 21 Jul 2015 07:14:58 +0000 |
| Subject: | Bug #30894 [Com]: Warning: ftp_put(): PORT command successful in... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-194585@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=30894&edit=1
ID: 30894
Comment by: iletisim at kursadaltan dot com
Reported by: evans at datahost dot gr
Summary: Warning: ftp_put(): PORT command successful in...
Status: Not a bug
Type: Bug
Package: FTP related
Operating System: Fedora Core 3 & (Kernel 2.6.9)
PHP Version: 4.3.9
Block user comment: N
Private report: N
New Comment:
Merhaba, aynı hatayı Åuan bende alıyorum.
Previous Comments:
------------------------------------------------------------------------
[2005-01-17 08:09:35] derick@php.net
Let's mark it as "not a PHP bug" then. Please reopen if you re-encounter the problem.
------------------------------------------------------------------------
[2005-01-16 23:58:24] evans at datahost dot gr
Today I realised that some other functions weren't working because of a buggie version of Zend
Optimizer (ver. 2.5.5).
I replaced Zend Optimizer with version 2.5.7 and everything worked fine.
I couldn't test the ftp_put() function though because i downgraded to Fedora Core 1 were
ftp_put() works fine no matter what is the version of Zend Optimizer.
------------------------------------------------------------------------
[2005-01-16 20:26:56] raducalauz at yahoo dot com
Hi again,
I forgot to said about my system:
Fedora Core 2
PHP 4.3.6
Kernel 2.6.6
Apache 2.0.51
Now i tested against some different FTP servers, so is also not related with the servers. All tests
was working and all of them was not using passive FTP.
Radu Calauz
http://www.tackesoft.com
------------------------------------------------------------------------
[2005-01-16 19:04:44] raducalauz at yahoo dot com
Hi all,
I have run into the same problem like you, using PHP 4.3.6 on my VMware machine.
But the funny part for me was because for some FTP servers was working and for some others not.
After some research, I found out the firewall was blocking the connection. Even if I tried to use
passive FTP,
the server where i was trying to make FTP and was not working, was trying to connect back to me on
port 20 (ftp-data port)
After i have accepted connection on this port, all was fine.
Hope is helping you.
p.s. For the FTP which was working i have give permissions the to IP for all type of connections.
------------------------------------------------------------------------
[2005-01-14 13:12:51] von_helmet at hotmail dot com
Same problem running PHP on a Gentoo system.
PHP 4.3.10
Apache 2.0.52
Kernel 2.6.10-gentoo-r4
I get the following error message when trying to upload a file:
"Warning: ftp_put(): PORT command successful in /home/peter/ftptest.php on line 22
Couldn't copy file."
When I check on the remote server, there is a file of 0 bytes with 644 perms.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=30894
--
Edit this bug report at https://bugs.php.net/bug.php?id=30894&edit=1