HTML file Error while Processing in Application server AL11
I have SAP workload data in HTML file and IF i download it using GUI_DOWNLOAD, I am successfully able to access the file.
1) I am uploading the above mentioned downloaded file in binary mode.
2) Converting binary to xstring
3) Adding and saving to ZIP folder using class CL_ABAP_ZIP
4) Converting back ZIP file to Binary mode
5) Transferring it to sever path using dataset ( character by character)
But after transfer, I try to access file using T code AL11, there file is created by on opening, it shows HTML tag along with the data i.e formatting error.
How to handle this.