Hi,

I was wondering if anyone knew how to retrieve connection error information
when using FTP in php?

By this I mean, when connecting to a ftp server that is full, ftp_connect
just returns FALSE, and not the 421 error returned by the server.

FALSE is also the response given when attempting to connect to a ftp server
that doesn't exist or isn't running.

I want to be able to tell the difference so I can inform the end user to
retry if the server is just busy, or inform them that the site is down and
to try again later if it really is down.

Any ideas would be really appreciated.

Thanks,
Ian

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to