Uploads the specified file to the server.

API

int Iotc_UploadFile ( IotcSession * session, IotcUploadFileRequest * requestData )

Parameters
in session

Is the connected session returned as part of Iotc_Init call.

in requestData

Is the pointer to the post data request object.

Returns
0 on success.