note 56797 added to function.ftp-exec

From: Date: Thu, 15 Sep 2005 13:34:24 +0000
Subject: note 56797 added to function.ftp-exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-95224@lists.php.net to get a copy of this message
I've been using the php ftp functions pretty extensively at work. We've recently discovered that some of the ftp servers we connect to, paticularly in Europe, are using extended passive mode. On a server using extended passive mode the php ftp functions will timeout. For those of you who encounter this, the solution is to send the command: ftp_exec (conn_id, 'epsv4 off' ); Do this immediately after ftp_login and you should be fine. ---- Manual Page -- http://www.php.net/manual/en/function.ftp-exec.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+56797 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56797&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56797&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56797&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56797&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56797&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56797&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+56797&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#95224) next »