Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

How to solve this issue Urgent pls help

Thread view: 
Prabahar - 10 Oct 2007 07:12 GMT
Hi all,

   Actually i have one file as my.zip(Its password encrypted file).
Am access the file from java coding.

But whenever am trying to access the my.zip(Its password encrypted
file).
Its will show the error like this....

java.util.zip.ZipException: invalid CEN header (encrypted entry)
       at java.util.zip.ZipFile.open(Native Method)
       at java.util.zip.ZipFile.<init>(Unknown Source)
       at java.util.zip.ZipFile.<init>(Unknown Source)
       at Test.main(Test.java:45)

How can i pass the password to the winzip????
And How am unzip the my.zip(Password file ) from the java code??

PLS help....

thanks....
lord.zoltar@gmail.com - 10 Oct 2007 16:32 GMT
> Hi all,
>
[quoted text clipped - 17 lines]
>
> thanks....

What are you using to encrypt the file? WinZip?
It sounds like WinZip is adding some extra data to the file (probably
for encryption) that the Java library you are using does not
understand. Maybe there is a WinZip API you can use that CAN handle
the encryption...
Prabahar - 21 Oct 2007 09:12 GMT
On Oct 10, 4:32 pm, lord.zol...@gmail.com wrote:
> > Hi all,
>
[quoted text clipped - 23 lines]
> understand. Maybe there is a WinZip API you can use that CAN handle
> the encryption...

hi friend,,

        Thanks for your favorable reply.... Actually am using the
Winzip zip file. I want to unzip the .zip(Winzip) file. If java
doesn't understand the .zip file.. Do you knw that Winzip API. How can
i solve this problem????...

if any coding means pls send me........


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.