ftp_base::pwd

Advertisement

Syntax Syntax

ftp_base::pwd()

Source Source

File: wp-admin/includes/class-ftp.php

	function pwd() {
		if(!$this->_exec("PWD", "pwd")) return FALSE;
		if(!$this->_checkCode()) return FALSE;
		return preg_replace("/^[0-9]{3} \"(.+)\".*$/s", "\\1", $this->_message);
	}

Advertisement

Advertisement

Leave a Reply