Using Symbian C++, need to upload a file from a Series-60 phone to a web server.

I believe it can be done thru a web client using HTTP C++ classes. Done some coding to make HTTP calls by using Nokia site's some sample application. This way, i can GET/POST variables to web server/pages.

I am stuck on how to upload a whole file. Is there any way to attach a file and then POST the page? Or, any mechanism to read the data in batches and send them accordingly? Any code snippet/resource URL/advise?

Hoping to get some assistance/help from you guys.

Thanks and regards,