curl-library
Re: compressed upload
Date: Fri, 2 Apr 2004 10:50:53 -0800
On Fri, Apr 02, 2004 at 09:25:01AM -0800, David Byron wrote:
> I'm pretty sure http://curl.haxx.se/mail/lib-2003-08/0220.html says that
> there's no "automatic" way to get curl to compress uploads. I don't see
> that anything's changed since August of 2003 related to this.
Correct.
> I'm interested in curl.exe having this feature, but since the work has
> almost got to be in the library, I'm sending the note here.
>
> I think what I want is to add --compressed (or maybe --compressed zlib) to
> my current curl command line, resulting in:
>
> $ ./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.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2004-04-02