View Single Post
  #1 (permalink)  
Old 07-02-2009, 03:23 AM
sito42 sito42 is offline
Member
 
Join Date: Jul 2009
Posts: 4
Rep Power: 0
sito42 is on a distinguished road
Default Issues with zipping files
Hi there,

I was wondering if someone can shed some light as to why zipping files with the java.util.zip package does not work the same as Winzip. I use this auto-generated zip file to upload to my webserver. When uploading, it unzips the file, and reads an xml file. The xml file only contains one opening and closing tag but somehow the system hiccups when trying to read this xml file. It's as if the java.util.zip added extra hidden characters to the zip file. When I use Winzip to manually zip it up, it uploads just fine. Does it have anything to do with the different compression levels between the two utiliites?

Any help would be much appreciated.
Reply With Quote