This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How To send Image by calling CGI Funcion

Hi

I've create a Project with HTTP server (using tirtos_tivac_2_00_02_36, ndk_2_23_02_03,  TM4C129) and i'm trying to send image by calling CGI function without converting the image file with binsrc tool, So what is the suitable HTTP Server exported functions that can be used ? here is my code and it didn't work

httpSendStatusLine(objSocket, HTTP_OK, CONTENT_TYPE_JPG);
httpSendClientStr(objSocket, CRLF);
httpSendFullResponse(objSocket,HTTP_OK, u8fileName);
 I used this way because i have a lot of images with big size, so i need to store these file on SD card then send the contents (without using conversion by Binsrc) , please tell me if there is another way to handle this problem.

please help me