In my case, the zipfile is in S3 Bucket and we are trying to get the uncompressed size of it using ZipInputStream and its size as entry.getSize()
which is actually returning -1.
I googled and found to use ZipFile,Enumeration and zipfile.entries()
answer but how should I pass my s3 path of zip file to below.
ZipFile zipfile = new ZipFile("??????");
Any other way to get uncompressed size rightly? Please help. Thanks.