From:             [EMAIL PROTECTED]
Operating system: Windows NT4 Server
PHP version:      4.0.5
PHP Bug Type:     FTP related
Bug description:  ftp_connect() does not work with IP address

Setup:
Windows NT4 Server with Apache 39 and PHP 4.0.5 as downloaded (big package) from 
PHP.NET

Situation:
phpInfo() says FTP is enabled.
ftp_connect('192.168.0.55') does not give connection handle whereas an ftp client on 
the same machine works perfectly. Tried all kinds of quotes, no success.

Solution:
Entered a line in local hosts lookup file to replace the IP with a literal name. 
Replaced the faulty line with
ftp_connect("theName")
and got the connection right away.


-- 
Edit Bug report at: http://bugs.php.net/?id=11025&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
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