<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-03-20 16:28 GMT-03:00 Leonardo M. Ramé <span dir="ltr"><<a href="mailto:l.rame@griensu.com" target="_blank">l.rame@griensu.com</a>></span>:</div><div class="gmail_quote">
[...]<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Silvio, here's the solution. Just create a Post handler, then save<br>
TheRequest.Content string as a TFileStream:<br>
<br>
procedure TIndex.Post;<br>
var<br>
lStream: TFileStream;<br>
begin<br>
lStream := TFileStream.Create('output.odf', fmCreate);<br>
try<br>
lStream.Write(TheRequest.Content[1], TheRequest.ContentLength);<br>
finally<br>
lStream.Free;<br>
end;<br>
end;</blockquote></div><div><br></div><div>Oops, sorry for my confusion. Until then I had not understood the problem hehe...</div><div><br></div><div>Michael is right, the Content property will get your buffer as stream! :)</div>
<div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>