Please enable JavaScript to view this site.

Copy the desired file with a newer file, with different path and/or filename.

Syntax

copyFile(string source, string target, uint flags): bool

source

Name of the source file

target

Name of the target file

flags

Setting for the operation

Result

Return operation logical result

Available settings (flags) are the following:

Label

Description

XFileSystem_Overwrite

Overwrite existing target file

Notes:

Jolly character are not allowed in the name of the file (source/target).

Relative name of file (source/target) will be referred to current directory path (see dirPath() method).

The method will fail if the target file exist and the XFileSystem_Overwrite flag is not set.

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC