This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
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
posted 9 years ago
before uploading check whether there are any files in the winzip file by using zip utilities in java,if not present throw error.