W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2002

Request for Help - Example source for multipart form post

From: Damien Dougan <ddougan@totalise.co.uk>
Date: Tue, 6 Aug 2002 11:26:49 +0100
To: www-lib@w3.org
Message-ID: <3D515A0C@mail.totalise.co.uk>

Hi All,

I have completed my client side Get and Post methods, and am now looking at a 
client-sidemultipart form post. I've been through the RFC and am fairly happy 
with the structure of a multipart form, but I am again lost when it comes to 
writing the client side code (well, more confused than lost - a little 
knowledge is a dangerous thing!).

I've seen some previous messages on the mailing list regarding multipart form, 
but they were either too small code fragments for my use, or concentrating on 
an application receiving a multipart form.

What I would really like is if someone had some example code they could give 
me that shows how a client can build a multipart form post.

I have a vector of parts (which I can convert into character buffers), plus a 
URL that they are to be posted to. Looking at the example code fragments from 
other messages, I am unsure whether I should be:

1. Using PUT to post an anchor (one for each part) to the Server.

2. Building a single POST request made up of a number of anchors (one for each 
part) under a parent anchor.

Any help would be much appreciated!

Thanks,

Damien

Totalise - the Users ISP
----------------------
To become a member and a shareholder
visit http://www.totalise.net
Received on Tuesday, 6 August 2002 06:22:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:42 GMT