6 years, 10 months ago.  This question has been closed. Reason: Duplicate of existing question.

HO

Hi guys I'm trying to send a File to a remote server through an HTTP post request from the Vodafone USB modem. The HTTP post method call returns when I'm passing an HTTP map object and the web server receives it. However when I pass an HTTPFile object, the function never returns. it's probably stuck in an infinite loop. Also, I've modified the HTTP FIle class a bit as there was little support for it and it wasn't well implemented. But Im wondering if the problem is the fact that I need to add metadata in the HTTP header ( which I don't know how to do) therefore modify the class or it's on the server side meaning I'm not requesting the correct data .