파일 절대 경로에 해당 하는 파일에 대한 HTML File 오브젝트를 반환한다.
| Parameters | Type | Description | 
|---|---|---|
| strFilePath | STRING | 파일 절대 경로 | 
| Type | Description | 
|---|---|
| INSTANCE | HTML File 오브젝트 또는 오류 발생시 null | 
전용 브라우저 환경에서만 동작합니다.
리턴값인 File Object는 파일/파일업로드/그리드 컴포넌트 API 중 File 오브젝트를 파라미터로 사용하는 값에 사용할 수 있다.
function btn_on_mouseup(objInst)
{
	var file_state, file_object, file_path;
	
	file_path = "C:\\logs\\SOFTBASE\\xadmin5\\xadmin.log";
	
	file_state = factory.xplusgetfilestate(file_path);
	if (file_state == null) {
		screen.alert("File Not Found");
		return;
	}
	file_object = factory.xpluscreatefileobject(file_path);
	if (file_object == null) {
		screen.alert("Fail to Create File Object");
		return;
	}
	else {
		screen.alert("name: " + file_object.name + ", size = " + file_object.size);
	}
}