팩토리 » Api

xplusfilefind

Description

해당 파일이 존재하는지에 확인 할 수 있는 API이다.

Parameters

Parameters Type Description
strFilePath STRING 파일 경로

Return Value

Type Description
BOOL 파일이 존재하는지 여부

Remark

전용 브라우저 환경에서만 동작합니다.

Example

function btnTest_on_mouseup() { var strFilePath = "c:\\xFrame\\test.txt"; if(factory.xplusfilefind(strFilePath) == false) { screen.alert("해당경로에 파일이 존재 하지 않습니다."); return; } // 텍스트 파일의 내용을 읽어 변수 저장. var strContent = factory.xplusfileread(strFilePath); }

See Also

xplusfilewrite
xplusfileread
xplusfiledelete
xplusfilecopy

Viewer Ver.

9.1.1.1

Update Date

20200813