note 98837 added to function.ftp-pasv

From: Date: Fri, 09 Jul 2010 22:20:40 +0000
Subject: note 98837 added to function.ftp-pasv
Groups: php.notes 
Request: Send a blank email to php-notes+get-170853@lists.php.net to get a copy of this message
I found one place that required passive mode to function properly, but the initial error manifested itself in an odd way: PHP Warning: ftp_put(): TYPE is now ASCII in <file.php> on line <#> or PHP Warning: ftp_put(): TYPE is now 8 BIT BINARY in <file.php> on line <#> The other symptom is that it was taking a long time, perhaps the 90 seconds that the timeout was set to. No errors occurred upon connect, just when I tried ftp_put(). Once I turned on ftp_pasv() it worked, both in the place where active mode worked, and on the server where active mode wouldn't work. ---- Server IP: 69.147.83.197 Probable Submitter: 166.70.178.117 ---- Manual Page -- http://www.php.net/manual/en/function.ftp-pasv.php Edit -- https://master.php.net/note/edit/98837 Del: integrated -- https://master.php.net/note/delete/98837/integrated Del: useless -- https://master.php.net/note/delete/98837/useless Del: bad code -- https://master.php.net/note/delete/98837/bad+code Del: spam -- https://master.php.net/note/delete/98837/spam Del: non-english -- https://master.php.net/note/delete/98837/non-english Del: in docs -- https://master.php.net/note/delete/98837/in+docs Del: other reasons-- https://master.php.net/note/delete/98837 Reject -- https://master.php.net/note/reject/98837 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#170853) next »