Hi there,
I have a problem where I have to generate an xml file by java application (having main method) on Unix box (accessing through WinSCP) and then zip it by Java ZipEntry and ZipOutputStream classes and then mail the zip file using Java mail API.
Here are the sequence of operation..
1. Generation of xml file
2. Zipping the xml file into a zip file by java ZipOutputStream class.
3. Mail using the Java mail and activation framework.
So far so good. I got the zip file in my outlook mail box as an attachment.
Next I have compared the xml file which I got from mail (extracted it from attached zip) with the xml file which is on Unix box. I simply moved the xml file to windows using WinSCP.
I have found that there are differences in whole file.. however, every line is exactly same but WinMerge is showing differences in every line.
Has anyone faced this problem? What could be the issue here?
Thanks & Regards,
Nazzy
I have a problem where I have to generate an xml file by java application (having main method) on Unix box (accessing through WinSCP) and then zip it by Java ZipEntry and ZipOutputStream classes and then mail the zip file using Java mail API.
Here are the sequence of operation..
1. Generation of xml file
2. Zipping the xml file into a zip file by java ZipOutputStream class.
3. Mail using the Java mail and activation framework.
So far so good. I got the zip file in my outlook mail box as an attachment.
Next I have compared the xml file which I got from mail (extracted it from attached zip) with the xml file which is on Unix box. I simply moved the xml file to windows using WinSCP.
I have found that there are differences in whole file.. however, every line is exactly same but WinMerge is showing differences in every line.
Has anyone faced this problem? What could be the issue here?
Thanks & Regards,
Nazzy