PHP FTP unable to connect

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mikeofsonoma
Forum Newbie
Posts: 1
Joined: Fri Nov 02, 2007 10:55 am

PHP FTP unable to connect

Post 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
Post Reply