wwAPI::CopyFile

Copies File. Faster than Fox Copy and handles errors internally without throwing a Fox error.

o.CopyFile(lcSource, lcTarget,nFlag)

Parameters

lcSource
Source file.
lcTarget
Target file.

nFlag
0 - Overwrite existing file (default)
1 - Don't overwrite

Remarks

Filenames must be full OS paths.


See also:

Class wwAPI

© West Wind Technologies, 2023 • Updated: 12/22/09
Comment or report problem with topic