WinAPIServer::copyFile Method [AX 2012]
server public static boolean copyFile(
FilenameOpen _fileName,
FilenameSave _newFileName,
[boolean _overwrite])
Run On
ServerParameters
- _fileName
- Type: FilenameOpen Extended Data Type
- _newFileName
- Type: FilenameSave Extended Data Type
- _overwrite
- Type: boolean
If an attacker can control input to the copyFile method, a security risk exists. Therefore, this method runs under Code Access Security. Calls to this method on the server require permission from the FileIOPermission Class.
Show: