public function setPassive(/* boolean */ $passive) {
		// Close connection before changing password.
		if ($this->passive !== $passive) {
			$this->passive = $passive;
			if (isset($this->handle) && $this->handle != null) {
				$this->pasv($this->passive);
			}
		}
	}
public function setPassive(/* boolean */ $passive) {
		// Close connection before changing password.
		if ($this->passive !== $passive) {
			$this->passive = $passive;
			if (isset($this->handle) && $this->handle != null) {
				$this->pasv($this->passive);
			}
		}
	}
public function setPassive ( /* boolean */ $ passive ) { // Close connection before changing password. if ( $ this -> passive !== $ passive ) { $ this -> passive = $ passive ; if ( isset ( $ this -> handle ) && $ this -> handle != null ) { $ this -> pasv ( $ this -> passive ) ; } } }
Changing FTP passive mode.

@param boolean $passive Set passive mode

@throws FtpException if passive mode could not be set.
Changing FTP passive mode .