PHP 8.5.0 Alpha 4 available for testing

Voting

: zero plus three?
(Example: nine)

The Note You're Voting On

Anonymous
13 years ago
Hi !

If you get this error when trying to send data to server :
Warning: ftp_put() [function.ftp-put]: Unable to build data connection: Connection timed out...

Two solutions :
- Add the program httpd.exe in your exception list for external connexions of your firewall. Indeed, the FTP protocol open a new socket for data transfer. And this socket is opened from the server to the client (your computer). This program is located (for WAMP) in C:\wamp\bin\apache\Apache[version]\bin\
- Use the ftp_pasv() function to activate the passive mode. In this mode, it is the client who open the new socket to the server.

<< Back to user notes page

To Top