To do a file upload via HTTP, you'll want to send a multipart/form-data
message, as described in RFC 1867 (http://www.faqs.org/rfcs/rfc1867.html).  

Jason Hunter's MultipartRequest servlet stuff
(http://www.servlets.com/cos/index.html) is probably the canonical example
of the server-side of this. I wasn't able to find any links with examples of
the client side of this, and I don't think there is any direct support in
HttpClient, but I imagine it is possible to add such support. 

-----Original Message-----
From: josh lucas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 4:04 PM
To: [EMAIL PROTECTED]
Subject: [HttpClient] FileUpload


I was curious if this code has been used to do a file upload and if so,
is there any hints I could get as to where to start looking?

I can post to forms without troubles but i'm a bit confused as to how I
might do a file upload.



thanks,
josh

Reply via email to