wwAPI::CopyFile

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

Note: This is a static function not a class method

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