note 82794 added to wrappers.ftp

From: Date: Fri, 25 Apr 2008 20:41:17 +0000
Subject: note 82794 added to wrappers.ftp
Groups: php.notes 
Request: Send a blank email to php-notes+get-138783@lists.php.net to get a copy of this message
Document says "Allows read access to existing files and creation of new files via FTP. If the server does not support passive mode ftp, the connection will fail. " As of version 5.2.5 at least fopen("ftp://...") uses an ACTIVE mode connection by default (it issues an FTP PORT command but not a PASV command). To force passive mode: $f = fopen("ftp://..."); ftp_pasv($f, true); ---- Server IP: 69.147.83.197 Probable Submitter: 65.46.168.182 ---- Manual Page -- http://www.php.net/manual/en/wrappers.ftp.php Edit -- https://master.php.net/note/edit/82794 Del: integrated -- https://master.php.net/note/delete/82794/integrated Del: useless -- https://master.php.net/note/delete/82794/useless Del: bad code -- https://master.php.net/note/delete/82794/bad+code Del: spam -- https://master.php.net/note/delete/82794/spam Del: non-english -- https://master.php.net/note/delete/82794/non-english Del: in docs -- https://master.php.net/note/delete/82794/in+docs Del: other reasons-- https://master.php.net/note/delete/82794 Reject -- https://master.php.net/note/reject/82794 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#138783) next »