On Wednesday 18 August 2004 09:06, DBW wrote: > Just wondering if someone has some suggestions here. > > Using ftp_connect($server, $port) returns a false on the server I am trying > to use. Doesn't matter which server I am trying to connect to. According > to the provider, ftp from the server is allowed and php is compiled with > --enable-ftp > > Any ideas/suggestions on what the issue may be?
Have you enabled FULL error reporting? Are you getting any errors? Is the server you're connecting to using a non-standard port? If not just leave out $port, or make pretty damn sure it's 21. Do you have shell access to the server? If so you can try using the command line 'ftp' to see whether you can connect to the ftpserver. Are you positive that the host allows FTP out of the webserver (the machine not the program) to a remote ftpserver? Make sure the host knows what you're trying to do and that they know what they're doing. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* How's it going in those MODULAR LOVE UNITS?? */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php