curl-users
Re: curl -F issue
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 27 Jan 2004 08:17:03 +0100 (CET)
Date: Tue, 27 Jan 2004 08:17:03 +0100 (CET)
On Mon, 26 Jan 2004, Steve Berube wrote:
> I am trying to use CURL to upload an 18gig file to a remote web server.
>
> What I've noticed is the cURL process grows until it runs out of memory. It
> also never starts the upload.
>
> Is there a way without reading the while file into memory I can use CURL to
> send this file to a remote webserver?
Currently the -F request is first created in memory and then sent over the
network. Thus, the answer is no it can't be done.
This should be fixed in libcurl to do the posting in a streaming manner. Help
is appreciated.
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]] ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdnReceived on 2004-01-27