On Sat, 2007-04-21 at 22:43 +1000, Amos Shapira wrote:
> Hello,
> 
> Does anyone have a pointer for a sample of code which sends multiple files
> as a single HTTP response using MIME multipart/related?
> 
> All the code or explanations I found so far are talking about either
> creating MIME e-mail messages or parsing multipart responses (or even upload
> of multiple files using multipart/related over HTTP), but nothing that shows
> how to do this as an HTTP server.

Last I checked RC2616 does not defnied multipart/related semantics for
HTTP.

> Perl and C/C++ are most useful, but I think an example with any
> language/tools might help.
> 
> (A little background - I'm looking for ways to speed up sending of thousands
> of small files between internal hosts, the client right now is running on
> Windows but I hope to convert it to Linux one day (the server runs Linux).
> Currently it uses ftp and just can't keep up with the volume).

HTTP/1.1 persistent connections, single file at a time should be fine
and scale to several 10's of thousand of requests per second on a single
host.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to