|Subject:||Content-Transfer-Encoding in TIdMultiPartFormDataStream|
|Posted by:||Jay Shin (j.sh…@xpedite.co.jp)|
|Date:||Wed, 3 Mar 2004|
Does anybody know how to add Content-Transfer-Encoding: base64 and encoded
file data as follows?
<HTTP POST DATA>
content-disposition: form-data; name="Document"; filename = "test.tif"
== Actual base64 encoded data here ==
</HTTP POST DATA>
I think that there is only one function, AddFile, for adding a file as below
but I don't know how to add
"Content-Transfer-Encoding: base64" for Base 64 encoded file data.
TIdMultiPartFormDataStream *mpfds = new TIdMultiPartFormDataStream;
mpfds->AddFile("Document", "test.tif", "TIFF-F");
Does anyone know how to?
Thanks in advance.