wood burning stoves
The moose likes Java in General and the fly likes Winzip file uploading problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "Winzip file uploading problem" Watch "Winzip file uploading problem" New topic

Winzip file uploading problem

Praveen Ramachandran

Joined: Jul 18, 2006
Posts: 16

When i try to upload a winzip file,it gets uploaded succesfully if there is some contents in the file and when i upload an empty file say 0 byte,it throws an error as per the logic.In some machines when i create an empty Winzip file it shows 22 bytes in the property view of the file and these empty files get uploaded which i dont want to.So i don't want to upload these files as they are empty.Can i have an help from your side in this regard?This also happens with Micrsoft word..
Hanuma Deepak Muvvala
Ranch Hand

Joined: Nov 20, 2005
Posts: 158
before uploading check whether there are any files in the winzip file by using zip utilities in java,if not present throw error.
Have you checked out Aspose?
subject: Winzip file uploading problem
It's not a secret anymore!