I want to progammatically download the gzip file and unzip it, but instead of waiting for it to fully download before unpacking, I want to unzip it while downloading it, that is, unzip it on the fly. Is this possible, or does the gzipped format prohibit such compression on the fly.
Of course, I can use the GZIPInputStream Java library to unzip part of the file in parts on the local file system, but on the local file system I obviously have the full gzipped file. But is this possible when I do not have the full gzipped file, as is the case with downloading from the Internet or cloud storage?
source
share