From:             frantisek at augusztin dot com
Operating system: Linux (Fedora Core 3)
PHP version:      5.0.3
PHP Bug Type:     FTP related
Bug description:  ftp_login fails on messsage from FTP+SSL server (234 Enabling 
SSL)

Description:
------------
PHP returns following error when connecting using example code:
Warning: ftp_login() : Enabling SSL in /var/www/html/test.php on line 3

Using FTP client the following messages are displayed in the log window of
the client :

*** Connecting to 'XXX.XXX.XXX.XXX:21'...
220 Service Ready for new User
AUTH TLS
234 Enabling SSL

FTP clearly fails on this messsage. But i don't understand why, because i
found in source code, that 234 is not an error, but a valid result code
for this operation.
FTP System type is "215 NETWARE  Type : L8"

Reproduce code:
---------------
<?php
$connection = ftp_ssl_connect("server",21);
$login = ftp_login($connection, "name","password");
ftp_close($connection);
?>

Expected result:
----------------
No warning message and successfull connection to FTP server.

Actual result:
--------------
Warning: ftp_login() : Enabling SSL in /var/www/html/test.php on line 3

-- 
Edit bug report at http://bugs.php.net/?id=31971&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31971&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31971&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31971&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31971&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31971&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31971&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31971&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31971&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31971&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31971&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31971&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31971&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31971&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31971&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31971&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31971&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31971&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31971&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31971&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31971&r=mysqlcfg

Reply via email to