ID:               33995
 Updated by:       [EMAIL PROTECTED]
 Reported By:      zxc at zmail dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         FTP related
 Operating System: Win2000 SP4
 PHP Version:      4.4.0
 New Comment:

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)



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

[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

Reply via email to