改变目录
可以用来测试文件夹的存在,相当于FTP上的is_dir()
bool Core_Ftp::changedir( [ string $path = empty ] )
参数列表
参数 类型 描述 默认值 $pathstringempty 
bool public function changedir($path = '')
{
	if ($path === '' || !$this->_is_conn())
	{
		return false;
	}
	$result = @ftp_chdir($this->_conn_id, $path);
	if (false===$result)
	{
		if (IS_DEBUG)
		{
			Core::debug()->error(__('ftp unable to changedir'));
		}
		return false;
	}
	return true;
}