ID: 33995
User updated by: zxc at zmail dot ru
Reported By: zxc at zmail dot ru
-Status: Feedback
+Status: Open
Bug Type: FTP related
Operating System: Win2000 SP4
PHP Version: 4.4.0
New Comment:
sniper, I use 3 parameters:
<?
$ftp=ftp_connect("myFTPserver");
@ftp_login($ftp,"login","password");
if($ftp)
ftp_close($ftp);
?>
I have WARNING message (from "ftp_login()" function) if remote FTP
server is FULL (many users etc.)
But I must have boolean FALSE only from ftp_login() function in this
case (without WARNING message), because I use prefix "@" before
"ftp_login()".
Previous Comments:
------------------------------------------------------------------------
[2005-08-04 22:12:22] [EMAIL PROTECTED]
You have to provide a working script. The one here can not work:
ftp_login() expects 3 parameters, not 2..
(and I can't reproduce this with a proper script, even if the server
shows errors)
------------------------------------------------------------------------
[2005-08-04 19:59:47] zxc at zmail dot ru
Tony, I has tried change a FTP server to something, but I show WARNING
still.
------------------------------------------------------------------------
[2005-08-04 19:56:42] zxc at zmail dot ru
Example of WARNING:
--
Warning: ftp_login(): Too many users - please try again later. in
/pub/home/hissite/ftpconnect.php on line 73
--
Why shows a WARNING message? I use a "@" prefix before "ftp_login()"
function.
>>> I must have boolean FALSE only, without this WARNING.
------------------------------------------------------------------------
[2005-08-04 15:18:54] [EMAIL PROTECTED]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
What warning? Which FTP server do you use? How to reproduce it? Are you
able to reproduce it if you change your FTP server to something else?
------------------------------------------------------------------------
[2005-08-04 15:09:13] zxc at zmail dot ru
Description:
------------
I have a WARNING message from ftp_login(), but I use a "@" with
ftp_login() function.
Function ftp_login() in this case must returns boolean FALSE only
without WARNING.
Reproduce code:
---------------
<?
$ftp=ftp_connect("myFTPserver");
@ftp_login("login","password");
if($ftp)
ftp_close($ftp);
?>
Expected result:
----------------
I have a WARNING message from ftp_login(), but I use a "@" with
ftp_login() function.
Function ftp_login() in this case must returns boolean FALSE only
without WARNING.
Actual result:
--------------
empty screen
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33995&edit=1