Gocator API > Go2 > Classes > Go2System > Functions > Go2System_UploadFile

Gocator 3x00 API | Contents | Reference | Previous | Up | Next

Go2System_UploadFile
Functions
Description

Uploads a file to the connected sensor.

C

    Go2Status Go2System_UploadFile(Go2System system, const Go2Char* sourcePath, const Go2Char* destName);

Parameters

Parameters | Description
Go2System system | Go2System object.
const Go2Char* sourcePath | Source file system path for the file to be uploaded.
const Go2Char* destName | Destination name for the uploaded file (maximum 63 characters).

Returns

Operation status.

Remarks

Calling this function will result in writing operations to flash storage. Should the process be disrupted due to power loss or other factors, the sensor may enter Rescue mode.

File

Go2System.h

Copyright (c) 2013 by LMI Technologies Inc. All rights reserved.
Contents | Reference