tags:

views:

6

answers:

0

I have HTML content from a HTML editor. It's just String and I need to send it as a RTF file to a web service. I think the web service may validate the MIME type and the header of the content that I will send. I tried to create a file on the server, put the HTML content there and then get the file to send, but I couldn’t find a way of doing this. I could only read the content of the file. Is there a way of getting the entire document as it was an upload of a user?