I want to progammatically download a gzipped file and uncompress it, but instead of waiting for it to fully download before uncompressing it, I want to unzip it while its downloading, that is, unzip it on the fly. Is this even possible, or the the gzipped format prohibits such uncompression on the fly.
I am of course able to use the Java's GZIPInputStream library to uncompress a file part by part on a local file system, but in the local file system, I obviously have the full gzipped file. But is this possible when I don't have the full gzipped file beforehand, as in the case of downloading from the internet or cloud storage?