Forums Register Login

Unable to open zip file in filesystem retrived from sybase database

+Pie Number of slices to send: Send
Hi,
I have written a java prog which is retriving blob data from my sybase database which i stored as a zip file

this thing working fine and data is inserted .Now I am trying to retrieve this zip I stored and keep it in different directory in filesystem. For that I have done this
For information the zip file I stored contains two xml file
and this prog working fine a zip is created with required size but when I try to open that it is giving error
I have also done a simple prog to check zip functionality like created a zip and move two txt file in that .the case is that zip also not opening
+Pie Number of slices to send: Send
Why are you unzipping the stream and then re-zipping it to write it out to the new file. Why are you not just writing the binary stream to the output file without unzipping it.
Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1348 times.
Similar Threads
problem using getSize on classes in jar file
Question on ZipInputStream and encoding
Character Encoding
Decompress the HTTP Request body
retrieving zip file from a Blob
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:06:07.