Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

creating zip file with directory structure

807603Feb 28 2008 — edited Feb 28 2008
Hi,

i have to create a zip file ( which contains one directory and directory has one file ).

i am able to create zip file with that directory structure using
 new ZipEntry("Directrory"+"/"+"fileName.txt")
It creates a zip file.

IS it correct to create zip file with directory structure or we need to add both separately.

when i am reading from that location and passing to some function the file is not updated in the target database.

earlier i am reading zip file which created manually using winzip. this time the database is updated.

Any idea on this.

Thanx
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2008
Added on Feb 28 2008
3 comments
312 views