I am writing one program receives data files from the web browser.
HTML code:
<form action="http://192.168.0.102:8080/sync/uploadfile" method="post" enctype="multipart/form-data">
<input type="submit" value="Upload File"><br />
</form>
Data received:
------WebKitFormBoundarysKV9CFx7LDIr5T1A Content-Disposition: form-data; name="uploadFile"; filename="icon.png" Content-Type: image/png xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ------WebKitFormBoundarysKV9CFx7LDIr5T1A--
I'm having problems when processing the data submitted from the browser.
I want to convert the data to file.
Please help me how to solve problem.