>>>>> "Michnowicz, Simon G" <Simon.Michnowicz@team.telstra.com>: > I am trying to use wwwlib to do a file upload to a server, using the > POST method, from a C program. [snip!] > The only way I could seem to find to do it is to use > HTPostAnchor (HTParentAnchor *source, HTAnchor *dest, HTRequest *request); > and to directly modify the headers of HTParentAnchor to manually > create the MIME headers with HTAnchor_setDocument() > Is this the best way to do it? It seems rather clunky.. It's what I do. Ie. I do this to be able to send a multipart/form-data body, instead of the old-style form coding supported by libwww. I use PUT and HTPutAnchor() to do uploads to the server.Received on Thursday, 27 May 2004 05:15:44 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:44 GMT