From:             [EMAIL PROTECTED]
Operating system: SuSE Linux 7.1 Kernel 2.2.18
PHP version:      4.0.3pl1
PHP Bug Type:     FTP related
Bug description:  I get an errormessage every time i use the ftp_support

This is my skript:

$ftp_user = "anonymous";
$ftp_pass = "anonymous";
$ftp_server = "";
$ftp_port = 21

$conn_id = ftp_connect($ftp_server, $ftp_port);
$login_result = ftp_login($conn_id, $ftp_user, $ftp_pass);

if ((!$conn_id) || (!$login_result))
        echo "Ftp connection has failed!<br>\n";
        echo "Attempted to connect to $ftp_server for user $ftp_user";
        echo "Connected to $ftp_server, for user $ftp_user";
        $list=ftp_nlist($connid, "$dir");

        echo $list[$i], "";


// END

Every time I want to start this skript i get an errormessage!

Here is the hole output:

Connected to, for user anonymous
Warning: Unable to find ftpbuf 0 in /Data/www/ftpconn.php on line 36

Warning: Unable to find ftpbuf 0 in /Data/www/ftpconn.php on line 38

So, please mail me and say what I did wrong if it is not a bug!

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to