팩토리 » Api
xplusfilecopy
Description
파일을 동적으로 복사 할 수 있는 API이다.
bExistOverwrite 파라미터값을 false로 설정한 경우 복사할 경로에 동일한 이름의 파일이 존재 한다면 복사 되지 않고 반환된다.
Parameters
Parameters |
Type |
Description |
strSrcFilePath |
STRING |
원본 파일 경로 |
strCopyFilePath |
STRING |
복사할 파일 경로 |
bExistOverwrite |
BOOL |
복사할 파일 경로에 동일한 이름이 존재할 경우 덮어쓸지 여부 |
Return Value
Type |
Description |
BOOL |
성공/실패 여부 |
Remark
Example
function btnTest_on_mouseup()
{
// 파일 복사, 존재하면 덮어쓸것.
var bCopyResult = factory.xplusfilecopy("c:\\xFrame\\test.txt", "c:\\xFrame\\test_copy.txt", true);
}
See Also
xplusfiledelete
xplusfilewrite
xplusfileread
xplusfilefind
Viewer Ver.
9.1.1.1
Update Date
20200813