ID: 15383 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: FTP related Operating System: Windows 2000 Professional PHP Version: 4.1.1 New Comment:
Hi! I experienced the same problem (though I tried only Internet addresses, not the local one) - ftp over dialup didn't work. Solution: I restarted Apache (/etc/init.d/apache restart). Worked like magic. Looks like PHP module caches network info somewhere. Using PHP 4.1.12 on Debian Linux (last stable release of PHP on Debian). But it is the same with Midnight Commander and KMail so it could be problem with my configuration. Konqueror on the other side doesn't have this problem. Hope it helps. Previous Comments: ------------------------------------------------------------------------ [2002-08-11 01:00:12] [EMAIL PROTECTED] No feedback was provided for this bug for over a month, 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". ------------------------------------------------------------------------ [2002-07-10 23:20:08] [EMAIL PROTECTED] Please try the latest CVS snapshot from here: http://snaps.php.net/win32/php4-win32-latest.zip Just make sure the date of this package is above 10-Jul-2002 19:25 ------------------------------------------------------------------------ [2002-05-02 04:57:41] [EMAIL PROTECTED] I have a FTP server on IIS (Win NT) on LAN. I use ftp script from PHP help file (with changes to my server name). If I connect via this script from Apache server to FTP server the connection is OK. If I use the same script from IIS (to the same FTP server) the connection returns "Unable to find ftpbuf 0". I think that problem is in IIS web server. ------------------------------------------------------------------------ [2002-02-12 07:22:02] [EMAIL PROTECTED] No, that's the not the same. FTP connections to internal network IPs and localhost work fine. I cannot connect to Internet IPs. $conn_id=ftp_connect("$FTPURL"); This always returns no connection, regardless of the (external)FTP site that I attempt to connect to. FTP through either DOS FTP or Explorer works without problems to any FTP site, regardless of its location. I can't work this out as PHP should connect in exactly the same way as any other app, unless of course there's some rediculously small timeout period and it's giving up before it connects. ------------------------------------------------------------------------ [2002-02-06 12:54:53] [EMAIL PROTECTED] Hello, I'm just having the same problem actually and it seems that the cause of this one is our network. The ftp_connect can't establish a connection with the host because our LAN is on private IP, the router block the connection (or proxy or firewall). Try to do it with a direct connection to Internet and it will work great like me... But like you I would like it to work on my LAN ;) To be continued give me news Pampi ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15383 -- Edit this bug report at http://bugs.php.net/?id=15383&edit=1
