note 26874 added to function.ftp-pasv

From: Date: Fri, 15 Nov 2002 14:06:28 +0000
Subject: note 26874 added to function.ftp-pasv
Groups: php.notes 
Request: Send a blank email to php-notes+get-39537@lists.php.net to get a copy of this message
It's not too well documented here or too many other places, but the ftp_pasv function has to come after the ftp_login function, otherwise it doesn't work. For example: $connection = @ftp_connect($server, $port); $loggedOn = @ftp_login($connection, $user, $password); $mode= @ftp_pasv($connection, 1); $systype = @ftp_systype($connection); -- http://www.php.net/manual/en/function.ftp-pasv.php http://master.php.net/manage/user-notes.php?action=edit+26874 http://master.php.net/manage/user-notes.php?action=delete+26874 http://master.php.net/manage/user-notes.php?action=reject+26874

« previous php.notes (#39537) next »