cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: compressed upload

From: David Byron <DByron_at_everdreamcorp.com>
Date: Fri, 2 Apr 2004 11:58:20 -0800

On Fri, 2 Apr 2004, Dan Fandrich wrote:

> > $ ./curl http://place_to_upload -F "File=@<filename>" -F "foo=bar"
> > --compressed zlib
> >
> > and some more -F's, in case that matters.
> >
> > Any pointers of how to dive in and do this, some suggestion
> > of how to change the command line so that this is easier to
> > add?
>
> For the command-line client, extending the meaning of the
> existing --compressed option to enable compression of
> uploads makes perfect sense to me; I don't think you need a
> new command-line option.

I should have been more clear. I'm assuming that compressing multipart
forms is harder than compressing other kinds of uploads. So, I was asking
if I could change the curl command line I was using so that adding
compression would be easier.

But, I guess what I'm really looking for are pointers in the code so I know
where the work needs to be done.

Thanks much.

-DB
Received on 2004-04-02