public function pasv($pasv) {
        if (false === @ftp_pasv($this->getConnection(), $pasv)) {
            throw $this->newFTPException(sprintf("pasv from %d to %d failed", !$pasv, $pasv));
        }
        return $this;
    }
public function pasv($pasv) {
        if (false === @ftp_pasv($this->getConnection(), $pasv)) {
            throw $this->newFTPException(sprintf("pasv from %d to %d failed", !$pasv, $pasv));
        }
        return $this;
    }
public function pasv ( $ pasv ) { if ( false === @ ftp_pasv ( $ this -> getConnection ( ) , $ pasv ) ) { throw $ this -> newFTPException ( sprintf ( "pasv from %d to %d failed" , ! $ pasv , $ pasv ) ) ; } return $ this ; }
Tuns passive mode on or off.

@param bool $pasv The passive mode.
@return FTPClient Returns this FTP client.
@throws FTPException Throws a FTP exception if an I/O error occurs.
Tuns passive mode on or off .