Switch the ftpext filesystem to use Passive FTP aswell. Fixes #7940 props mcs_trekkie.

git-svn-id: http://svn.automattic.com/wordpress/trunk@9833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-11-21 17:59:15 +00:00
parent b55b7a2ccf
commit f9a218eb6b
1 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,10 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
$this->errors->add('auth', sprintf(__('Username/Password incorrect for %s'), $this->options['username']));
return false;
}
//Set the Connection to use Passive FTP
@ftp_pasv( $this->link, true );
return true;
}