FTP_Callback_OnUpDown() function

Hello friends.

Please see the following codes:

static void FTP_Callback_OnUpDown(s32 result, s32 size)
{
s32 ret;
if (result)
{
APP_DEBUG(“<-- Succeed in uploading/downloading image bin via FTP, file size:%d → \r\n”, size);
}else{
APP_DEBUG(“<-- Failed to upload/download file to FTP server, cause=%d → \r\n”, result);
}
ret = RIL_FTP_QFTPCLOSE();
APP_DEBUG(“<-- FTP close connection, ret=%d → \r\n”, ret);

APP_DEBUG(“<-- Deactivating PDP context → \r\n”);

ret = RIL_FTP_QIDEACT();

APP_DEBUG(“<-- Released PDP context, ret=%d → \r\n”, ret);

}

The FTP_Callback_OnUpDown(s32 result, s32 size) has two inputs. I’ve have no idea about “result” input. what is this and is it possible to check the value of this entry to find out whether the upload operation on the server was successful or not?

Thanks in advance!