PHP ftp_pasv() May 14, 2012 Pramod T P It turns passive mode on or off Example <?php $ftpId = ftp_connect(‘ftp.phpcodez.com’); $login = ftp_login($ftpId, ‘anonymous’, ‘user@phpcodez.com’); ftp_pasv($conn_id, false); ftp_close($ftpId); ?>