This documentation is archived and is not being maintained.
DMFStagingWriter::compressCopyFileServer Method [AX 2012]
Compresses the copied file on server.
server public static boolean compressCopyFileServer(
str fileName,
str newFileName,
[boolean newFileOnServer,
boolean overwrite])
Run On
Server
Parameters
-
fileName
- Type: str
Filename
-
newFileName
- Type: str
Filename of compressed file on server.
-
newFileOnServer
- Type: boolean
Flag to check if file present on server.
-
overwrite
- Type: boolean
Disable overwriting.
Return Value
Type:
boolean
Returns the flag after compression is successful.