PHP FTP 1.1

A freeware script enabling PHP scripts to make FTP connections

Download | Requirements | Limitations | Security | Usage Examples

Connection Failed - Unable to Open Network Connection

PHP FTP was unable to establish a FTP connection to the desired host server.

Possible Causes and Remedies
  • You have misspelled the name of the server to which you are attempting to connect: Verify the spelling.
  • The server your are attempting to connect to is offline: Verify that the server is online.
  • The server your are attempting to connect to does not have a FTP service running: If the server your are attempting to make a FTP connection to does not have FTP server software running on it, you won't be able to make a connection. Try opening a FTP connection to the desired server using some other FTP tool. If that fails, contact the server administrator to verify whether the lack of FTP service is intentional or not or to request FTP access.
  • Your hosting provider (for the server from which you are attempting to make a FTP connection) has disabled the PHP function "fsockopen": PHP FTP uses the function "fsockopen" to open FTP connections. Some website hosting providers disable this function for security purposes. If your hosting provider has disabled this function, you will not be able to use PHP FTP on your server. Contact your hosting provider to ask whether fsockopen has been disabled (ask the following question at the same time).
  • Your hosting provider has a firewall blocking outgoing FTP connections from your server: Some hosting providers use firewalls to prevent inappropriate outbound connections from their webservers, which unfortunately also blocks appropriate outbound connections. Contact your hosting provider to ask whether they have blocked outbound TCP/IP connections on port 21 from your server.