Based on skimming this
http://www.w3.org/TR/html401/interact/f ... -17.13.4.2 , I think you should add this header to roUrlTransfer
Content-Type: multipart/form-data; boundary=AaB03x
and then manually assemble the rest and post it as a body:
--AaB03x
Content-Disposition: form-data; name="submit-name"
Larry
--AaB03x
Content-Disposition: form-data; name="files"; filename="file1.txt"
Content-Type: text/plain
... contents of file1.txt ...
--AaB03x--
I am not clear on how were you fudging but the way i understand it, there is no "multipart header" - instead is a multipart request (with a single header).