Gocator API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoSensor_CopyFile | ( | GoSensor | sensor,
|  | const kChar * | sourceName,
|  | const kChar * | destName
| ) |  |

Copies a file within the connected sensor.

WARNING! This operation writes to flash storage. Review the user manual for implications.

Version
  Introduced in firmware 4.0.10.27

Parameters

  sensor | GoSensor object.
  sourceName | Source name for the file to be copied.
  destName | Destination name for the file (maximum 63 characters).

Returns
  Operation status.

Remarks
  Calling this function can result in writing operations to flash storage if the destination is not a live file(e.g. "_live.job"). Should the process be disrupted due to power loss or other factors, the sensor may enter Rescue mode.

See also
  GoSensor_UploadFile()