I am processing large gz file from ftp server without downloading to disk with go.
I am able to fetched any portion of file via this ftp go library
how can i decompress the portion that i fetched?
I am processing large gz file from ftp server without downloading to disk with go.
I am able to fetched any portion of file via this ftp go library
how can i decompress the portion that i fetched?
You cannot take something from the middle of a gzip file and decompress it. gzip files need to be decompressed from the start unless there are explicit flush points in the file (usually not) in which case data can be decompressed by starting at these flush points.