php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63543 ftp_raw out of sync
Submitted: 2012-11-16 20:52 UTC Modified: 2021-03-14 04:22 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: bar at root dot co dot il Assigned: cmb (profile)
Status: No Feedback Package: FTP related
PHP Version: 5.3.18 OS: CentOS 6.3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-11-16 20:52 UTC] bar at root dot co dot il
Description:
------------
The same bug that affect versions < 5.3.9 (reported as fixed in 5.3.9) is back in 5.3.18 (or maybe before..)
https://bugs.php.net/bug.php?id=60183 <- the original bug report


Test script:
---------------
ftp_raw($ftp,'PASV'); // Output: 227 Entering Passive Mode
ftp_raw($ftp,'STOR file'); // Output: 150 Opening ASCII mode data connection for test
ftp_raw($ftp,'NOOP'); // Output: 226 Transfer complete.

Expected result:
----------------
ftp_raw($ftp,'PASV'); // Output: 227 Entering Passive Mode
ftp_raw($ftp,'STOR file'); // Output: 150 Opening ASCII mode data connection for test && 226 Transfer complete.
ftp_raw($ftp,'NOOP'); // Output: 200 NOOP ok.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-04 11:22 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-03-04 11:22 UTC] cmb@php.net
I wonder whether that bug has ever been fixed properly.  It seems
to me that <https://github.com/php/php-src/pull/6718> would be the
proper fix.  Could you please check with that patch applied?
 [2021-03-14 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 30 05:01:24 2021 UTC