public function setPort(/* integer */ $port) {
		// Close connection before changing port.
		if ($this->port !== $port) {
			$this->close();
			$this->port = $port;
		}
	}
public function setPort(/* integer */ $port) {
		// Close connection before changing port.
		if ($this->port !== $port) {
			$this->close();
			$this->port = $port;
		}
	}
public function setPort ( /* integer */ $ port ) { // Close connection before changing port. if ( $ this -> port !== $ port ) { $ this -> close ( ) ; $ this -> port = $ port ; } }
Changing FTP port.

@param integer $port New hostname
Changing FTP port .