|Subject:||TIdMultiPartFormDataStream AddFormField size limit|
|Posted by:||Egon (email@example.com)|
|Date:||Wed, 9 Dec 2009|
just wanted to ask if there's a length limit the
AddFormField method accepts as a value?
Anytime I try to use the method with string more than
4096 bytes long the message box pops up with
"Format '%s' invalid or incompatible with argument."
So I'm looking for some tip. I was looking all over the
docs online / offline with no luck. Tracing the code
ends up in sysutils.hpp function: FmtStr where buffer
is declared as
Buffer: array[0..4095] of Char;
My guess is that's the cause, but how to make the
AddFormField method to accept strings longer than 4096 chars?
BDS 2009, Indy 10.2.5