Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Winzip file uploading problem

 
Praveen Ramachandran
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hii,

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
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
before uploading check whether there are any files in the winzip file by using zip utilities in java,if not present throw error.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic