protected function delTree($localpath) {
		foreach ($this->_scandir($localpath) as $p) {
			@set_time_limit(30);
			$stat = $this->stat($this->convEncOut($p));
			$this->convEncIn();
			($stat['mime'] === 'directory')? $this->delTree($p) : $this->_unlink($p);
		}
		return $this->_rmdir($localpath);
	}
protected function delTree($localpath) {
		foreach ($this->_scandir($localpath) as $p) {
			@set_time_limit(30);
			$stat = $this->stat($this->convEncOut($p));
			$this->convEncIn();
			($stat['mime'] === 'directory')? $this->delTree($p) : $this->_unlink($p);
		}
		return $this->_rmdir($localpath);
	}
protected function delTree ( $ localpath ) { foreach ( $ this -> _scandir ( $ localpath ) as $ p ) { @ set_time_limit ( 30 ) ; $ stat = $ this -> stat ( $ this -> convEncOut ( $ p ) ) ; $ this -> convEncIn ( ) ; ( $ stat [ 'mime' ] === 'directory' ) ? $ this -> delTree ( $ p ) : $ this -> _unlink ( $ p ) ; } return $ this -> _rmdir ( $ localpath ) ; }
Delete dirctory trees

@param string $localpath path need convert encoding to server encoding
@return boolean
@author Naoki Sawada
Delete dirctory trees