ID:               15383
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         FTP related
 Operating System: Windows 2000 Professional
 PHP Version:      4.1.1
 New Comment:

Yes, every site that I've tried to connect to through command line FTP
has been fine.


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

[2002-02-05 07:19:59] [EMAIL PROTECTED]

This seems like a configuration problem, but not with PHP (but I may be
wrong).

Can you connect and work (!) with the command line ftp version of 'ftp'
in your command line prompt?

------------------------------------------------------------------------

[2002-02-05 05:32:07] [EMAIL PROTECTED]

I have a script which automatically transfers files to another single
machine via FTP accross the Internet. The script was working fine on
our old test server which was Win98 running Omnihttpd and PHP 4.0.6.
However on the new server running Win2k Pro, IIS, and PHP 4.1.1 it
causes problems. Connection fails and trying to use the connection
results in a "Unable to find ftpbuf 0" error.

I have written a simple test script and have come to the following
conclusions:

* ftp_connect() to localhost is fine
* ftp_connect() to local network IPs is fine
* ftp_connect() to Internet IPs doesn't work

Using FTP from the command line on the same 2k box to the same address
works all of the time regardless of the destination IP.

        $ip="ftp.geocities.com";
        $conn_id = ftp_connect($ip);
        print $ip."<br><br>";
        if($conn_id) {
                print "Connected OK";
                }
        else {
                print "Unable to connect";
                }

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15383&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to