From:             bar at root dot co dot il
Operating system: CentOS 6.3
PHP version:      5.3.18
Package:          FTP related
Bug Type:         Bug
Bug description:ftp_raw out of sync

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.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=63543&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63543&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63543&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=63543&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63543&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63543&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63543&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63543&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63543&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63543&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63543&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=63543&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=63543&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63543&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63543&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63543&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63543&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63543&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63543&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63543&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63543&r=mysqlcfg

Reply via email to