Bug #11000 Updated: ftp_connect(...) produces ftpbuf 0 "error"
| From: | sniper@php.net | Date: | Mon, 21 May 2001 14:45:20 +0000 |
| Subject: | Bug #11000 Updated: ftp_connect(...) produces ftpbuf 0 "error" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56057@lists.php.net to get a copy of this message | ||
ID: 11000
Updated by: sniper
Reported By: kniprath.l@wver.de
Old-Status: Open
Status: Feedback
Bug Type: FTP related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Have you tried with some public ftp-server?
Does it work then? And what is the full error message?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-21 15:39:36] kniprath.l@wver.de
I installed the PHP4 software (actual Windows binary 4.04pl1) with the actual Apache-Server on a NT
4.0 server. The FTP-Server I try to contact runs localy on my NT4.0 PC.
The following script
<?php
$ftp_user = "username";
$ftp_pass = "password";
$ftp_server = "127.0.0.1";
$conn_id = ftp_connect("$ftp_server");
echo $conn_id;
$login_result = ftp_login($conn_id, "$ftp_user", "$ftp_pass");
?>
causes "Warning: Unable to find ftpbuf 0 in ....".
$conn_id is null, it seems, that there is no connection.
I found some similar error-messages in the php-FAQ's, but no answer.
bye...
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11000&edit=2