WordPress at Your Fingertips
function is not described

ftp_base::mdtm() public WP 1.0

{} It's a method of the class: ftp_base{}

No Hooks.

Return

null. Nothing.

Usage

$ftp_base = new ftp_base();
$ftp_base->mdtm( $pathname );
$pathname (required)
-

Code of ftp_base::mdtm() WP 5.8.2

function mdtm($pathname) {
	if(!isset($this->_features["MDTM"])) {
		$this->PushError("mdtm", "not supported by server");
		return FALSE;
	}
	if(!$this->_exec("MDTM ".$pathname, "mdtm")) return FALSE;
	if(!$this->_checkCode()) return FALSE;
	$mdtm = preg_replace("/^[0-9]{3} ([0-9]+).*$/s", "\\1", $this->_message);
	$date = sscanf($mdtm, "%4d%2d%2d%2d%2d%2d");
	$timestamp = mktime($date[3], $date[4], $date[5], $date[1], $date[2], $date[0]);
	return $timestamp;
}