Hi,

I'd like to use the CURLFORM_STREAM option in curl_formadd for adding normal 
parts, but it seems that using CURLFORM_STREAM will always make it a file 
upload. The documentation for curl_formadd states, that when using 
CURLFORM_STREAM, also CURLFORM_FILENAME must be set to let the part become a 
file upload. But no matter whether I set the filename option or not, the part 
is always treated as a file upload. If I omit the filename, it seems to read 
from undefined memory which results in a random character sequence as filename. 
I'm using libcurl version 7.21.6.

What can I do?

Thanks,

Sascha
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to