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: -
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: bar at root dot co dot il Assigned:
Status: Open Package: FTP related
PHP Version: 5.3.18 OS: CentOS 6.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bar at root dot co dot il
New email:
PHP Version: OS:

 

 [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

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Nov 13 17:01:31 2019 UTC