|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43118 ftp_login() cause AUTH response from ftp server
Submitted: 2007-10-28 06:15 UTC Modified: 2007-11-20 01:00 UTC
From: icameron at ihug dot co dot nz Assigned:
Status: No Feedback Package: FTP related
PHP Version: 5.2.4 OS: Fedora 7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-10-28 06:15 UTC] icameron at ihug dot co dot nz
(while using net2ftp on fedora 7 to connect to a proftpd 1.3 server

$login_result =ftp_login($conn_id, $net2ftp_globals["username"], $net2ftp_password);

gives a response AUTH warning and $login_result is null

Reproduce code:



// set up a connection 
$conn_id = ftp_connect($ftp_server) ;

$login_result =ftp_login($conn_id, $username, $password);

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-12 10:10 UTC]
ftp_login() may return NULL only if the resource passed is no valid.
In all other cases it returns FALSE.
 [2007-11-20 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 01:01:27 2024 UTC