This documentation is archived and is not being maintained.
DMFStagingWriter::copyFileRunOnServer Method [AX 2012]
Copies the source file on server.
server public static boolean copyFileRunOnServer(
str _fileName,
str _newFileName,
[boolean _overwrite])
Run On
Server
Parameters
-
_fileName
- Type: str
Original file name.
-
_newFileName
- Type: str
New file name of copied file.
-
_overwrite
- Type: boolean
Over writing disabled.
Return Value
Type:
boolean
Returns the flag after copying the file else throws error.