cURL / Mailing Lists / curl-library / Single Mail

curl-library

Large Post data.... buffering?

From: <apinstein_at_mac.com>
Date: Thu, 5 Aug 2004 13:19:33 -0400

Our app is uploading files inside of SOAP requests and thus the
postdata can be quite large. While curl the app can upload postdata
from a file with --data-binary @/path/to/file I have 2 questions
regarding the use of this from libcurl:

1) It seems that even though curl can read the post data from a file,
that it is not buffered but rather loaded entirely into memory and then
sent.
2) I cannot see the way via libcurl to provide a file path to the
postdata to use. I think that this is the cause for #1 above, that the
@file construct is handled by the curl app itself.

Please advise,

----------------------------------
Alan Pinstein
Senior Product Manager
MediaBin
Interwoven, Inc.
Received on 2004-08-05