From: Daniel Stenberg Date: Mon, 12 Jan 2009 21:22:51 +0000 (+0000) Subject: Mohun Biswas clarified X-Git-Tag: curl-7_19_3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f9038bf629335d0b23a7bde2e002bf587a2cd33;p=thirdparty%2Fcurl.git Mohun Biswas clarified --- diff --git a/docs/libcurl/curl_formadd.3 b/docs/libcurl/curl_formadd.3 index e55c542f2a..190a6b20dd 100644 --- a/docs/libcurl/curl_formadd.3 +++ b/docs/libcurl/curl_formadd.3 @@ -106,8 +106,9 @@ long which gives the length of the buffer. Tells libcurl to use the \fICURLOPT_READFUNCTION\fP callback to get data. The parameter you pass to \fICURLFORM_STREAM\fP is the pointer passed on to the read callback's fourth argument. If you want the part to look like a file -upload one, set the \fICURLFORM_FILENAME\fP parameter as well. (Option added -in libcurl 7.18.2) +upload one, set the \fICURLFORM_FILENAME\fP parameter as well. Note that when +using \fICURLFORM_STREAM\fP, \fICURLFORM_CONTENTSLENGTH\fP must also be set +with the total expected length of the part. (Option added in libcurl 7.18.2) .IP CURLFORM_ARRAY Another possibility to send options to curl_formadd() is the \fBCURLFORM_ARRAY\fP option, that passes a struct curl_forms array pointer as