I was wondering if anybody had used the PHP FTP functions. I'm trying to connect using the ftp_connect() function but I keep getting an error.

Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: gethostbyname failed in E:\web\intranet\destinations_ftp.php on line 4

I haven't a clue what the problem is. My only guess is I didnt format the FTP site filename correctly. This is what I pass ftp_connect..

ftp://64.IP.A.DD

do I need to format that a different way or what else could be the error?

Thanks