posted 9 years ago
Hi!
So I am writing this program that should list the contents of a ZIP file that is in the WEB, without downloading it.
The only way to read anything from it as I understand is with a InputStream, if I don't want to download the file. But in the InputStream, even if I know that the Central Directory is located in the end and I take off the 65k of bytes from the total length of the stream, it will still download the whole ZIP file, even if I tell it to skip() over a certain amount of bytes.
So am I at a dead end here or is there maybe a better solution here?