note 107887 added to function.ftp-put

From: Date: Tue, 13 Mar 2012 10:28:33 +0000
Subject: note 107887 added to function.ftp-put
Groups: php.notes 
Request: Send a blank email to php-notes+get-186624@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.197 Probable Submitter: 82.123.122.87 ---- Manual Page -- http://www.php.net/manual/en/function.ftp-put.php Edit -- https://master.php.net/note/edit/107887 Del: integrated -- https://master.php.net/note/delete/107887/integrated Del: useless -- https://master.php.net/note/delete/107887/useless Del: bad code -- https://master.php.net/note/delete/107887/bad+code Del: spam -- https://master.php.net/note/delete/107887/spam Del: non-english -- https://master.php.net/note/delete/107887/non-english Del: in docs -- https://master.php.net/note/delete/107887/in+docs Del: other reasons-- https://master.php.net/note/delete/107887 Reject -- https://master.php.net/note/reject/107887 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186624) next »