On Wed, 16 Mar 2011, Marc Dirix wrote:
It seems RXML can't be used for this, I'll have to use Pike to get to a
lower level.
No you can use RXML for file upload.
I use this code:
<form method="POST" enctype="multipart/form-data">
<input type='file' name='wrapupafile' />
</form>
and after the submit:
<set variable="var.data"><insert scope='form' variable='wrapupafile'
/></set>
Yes, but that is for a multipart/form-data with the image data attached to
a parameter. The client I'm coding for (an Android app) can't use that
content type without importing a whole lot of external apache libs, but
can provide an image/* and POST it to me.
/Rolf