Skip to content

FileSystemManager.copyFile ​

JS
    FileSystemManager.copyFile(Object object)

Copies a file

Parameters

  • Object object: Input parameters. See the table below for details.

object properties:

PropertyValue TypeRequiredDescription
srcPathstringYesSource file path. Only a regular file is allowed.
destPathstringYesTarget file path
successfunctionNoCallback for a successful call
failfunctionNoCallback for a failed call
completefunctionNoCallback for when the call ends