Edit report at https://bugs.php.net/bug.php?id=51190&edit=1
ID: 51190
Comment by: mattficken@php.net
Reported by: alexclifford47 at gmail dot com
Summary: ftp_put() returns false when transfer was successful
Status: Re-Opened
Type: Bug
Package: FTP related
Operating System: Windows Server 2003 R2 32-bit
PHP Version: 5.3.1
Block user comment: N
Private report: N
New Comment:
Also, can you repro this on PHP 7.1 or 7.2?
Previous Comments:
------------------------------------------------------------------------
[2018-03-19 16:54:44] cmb@php.net
> But also adding a check for a 221 response did.
According to RFC #959 a 221 reply is supposed to only be possible
for a QUIT command[1].
[1] <https://tools.ietf.org/html/rfc959#page-49>
------------------------------------------------------------------------
[2017-10-20 18:39:43] kalle@php.net
Unassigning as Ilia is not currently active
------------------------------------------------------------------------
[2017-08-17 03:38:02] linh232324 at gmail dot com
I have same issue on PHP 7
------------------------------------------------------------------------
[2016-11-28 17:41:40] cmb@php.net
Re-opening according to user comment.
------------------------------------------------------------------------
[2010-03-09 06:10:56] alexclifford47 at gmail dot com
I notice you added a check for the 200 response in ftp.c. This didn't fix the
problem for me. But also adding a check for a 221 response did. Is it possible to
have this added into the codebase too?
------------------------------------------------------------------------
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=51190
--
Edit this bug report at https://bugs.php.net/bug.php?id=51190&edit=1