Page 1 of 1

PHP FTP unable to connect

Posted: Fri Nov 02, 2007 11:09 am
by mikeofsonoma
I am trying to implement FTP in a PHP script but am unable to make the
connection to the remote server. The connection step times out at the
fsockopen function. I am not sure if it is relevant but PHP is
configured with "allow_url_fopen" ON. I am able to do an FTP connect
using an FTP client and using the same host/username/password
parameters.

Any ideas would be appreciated.

Thanks