I read wiki article
and want to know how to use it in my GUI application
I really need help and not getting any clue how to use this article in my app to upload a image.. Champions please help
If you are new with the HTTP API set, it may be better to check complete examples first, like the GUI-less exampleclient (expect it somewhere as AppProts\exampleclient folder somewhere under Examples), and the GUI-based WebClient example (in S60Ex or gui examples depending of the given SDK). These just work as they are provided, so you can check and debug them.
Since you want uploading from a GUI code, the WebClient example can be a good pick to add the upload functionality, since it already has most of the required objects and methods.
Na.. actually I am not newto HTTP API set. Earlier also I uploaded simple text files using HTTP WebClient. But this time have to deal with images and not able to understand how and where to merge the code in my app.
Try following what has been done in that wiki article & merge it accordingly in your code.Give it a try, & then post your queries here for any further help.
If you know handling of incoming data, you already know MHTTPDataSupplier, since that is what you are getting the data from when EGotResponseBodyData comes. When posting data you are the one who implements this interface, and the HTTP framework is going to use it for getting the data from you. The "untitled" code blocks between "POST code Get the file you want to upload in binary format" and "Submit the transaction" show how to prepare this data, with multipart headers and delimiters. They are not coming from the air, but they are prescribed by the HTTP standard. Search for multipart rfc (with Google for example) to get the related specifications.
Now When i succeeded in implementing that wiki article, don't know why but getting Kern Exec 3 in following code of ClientEngine class:
RStringF method = iSession.StringPool().StringF(HTTP::EPOST,RHTTPSession::GetTable());
All variables are allocated memory sucessfully, but I am still getting Kern exec 3. Is there any way to avoid this panic