Copying Streams Using Decompressed Samples. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback? Note Image streams cannot be copied from one file to another using stream samples.
My question is then how can I use gsutil to download a gzip file that has his metadata set to Content-Encoding: gzip without decompressing it and without having to set other metadata like Cache-control: no-transform if that would be a workaround? The text was updated successfully, but these errors were encountered:. It doesn't look like there's a way to disable the auto-decompression behavior for gsutil cp.
For one-off use cases, gsutil cat will skip the decompression:. But I realize it's very slow and painful to run a separate invocation of gsutil for every object like this. Sorry, something went wrong. Thanks for your answer. I think the documentation could also mention the fact that gsutil will enforce the Accept-Encoding header if I'm correct because the error just looks a bit strange at first sight.
I guess auto-decompression is active to keep cp -z working "as expected" for up- and download e. It will download the original. Skip to content. Star Then General. Can you answer this one Gary. Which i do not understand. All Rights Reserved. Thanks Gary, I will try that and download a zip file. Have a good day!
0コメント