ID:               34853
 Updated by:       [EMAIL PROTECTED]
 Reported By:      markokarjalainen at kolumbus dot fi
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: Linux
 PHP Version:      4.4.0
-Assigned To:      
+Assigned To:      bjori
 New Comment:

No.

Valid reply codes for USER are: 230, 530, 500, 501, 421, 331 & 332
For PASS: 230, 202, 530, 500, 501, 503, 421 & 332

Any server returning other codes is simply broken.


Previous Comments:
------------------------------------------------------------------------

[2005-10-13 12:53:42] markokarjalainen at kolumbus dot fi

Description:
------------
ftp_login should reply true, if server gives 200 reply after  
sending username command  


Reproduce code:
---------------
In folder ext\ftp\ftp.c
Function ftp_login

Change row 310
From:
if (ftp->resp == 230)
To:
if (ftp->resp == 230 || ftp->resp == 200)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34853&edit=1

Reply via email to