mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 14:05:03 -05:00
Mohun Biswas clarified
This commit is contained in:
parent
4d50ca4e21
commit
2f9038bf62
@ -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
|
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
|
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
|
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
|
upload one, set the \fICURLFORM_FILENAME\fP parameter as well. Note that when
|
||||||
in libcurl 7.18.2)
|
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
|
.IP CURLFORM_ARRAY
|
||||||
Another possibility to send options to curl_formadd() is the
|
Another possibility to send options to curl_formadd() is the
|
||||||
\fBCURLFORM_ARRAY\fP option, that passes a struct curl_forms array pointer as
|
\fBCURLFORM_ARRAY\fP option, that passes a struct curl_forms array pointer as
|
||||||
|
Loading…
Reference in New Issue
Block a user