Cyberduck Mountain Duck CLI

#9400 closed enhancement (worksforme)

Auto Gzip Decompress on Google Cloud

Reported by: bchapman Owned by: dkocher
Priority: normal Milestone:
Component: google-storage Version: 4.8.3
Severity: normal Keywords: gzip, google cloud
Cc: Architecture:
Platform:

Description

When downloading gzip compressed files via cybderduck, they don't get automatically uncompressed. It would be supercool if they did.

When storing files in Google Cloud, you can optionally store them compressed as gzip. This can be done using gsutil with the -z or -Z flags. There's no modification to the filename to signify this change...no ".gz" suffix. Viewing the metadata of a file via Cyberduck I can see a few headers that could be used to identify and uncompress relevant files. They have headers such as: stored-content-encoding: gzip Content-encoding: gzip

So if cyberduck sees these headers, it could potentially do an automatic decompression.

Potentially this could be expanded further to support compression on upload as well.

Change History (1)

comment:1 Changed on Apr 5, 2016 at 10:11:30 AM by dkocher

  • Resolution set to worksforme
  • Status changed from new to closed

When a response is compressed (advertised with Content-Encoding header) we decompress the entity received. It could be that the resource is double compressed (regardless of the transfer encoding) which we do not handle.

Note: See TracTickets for help on using tickets.
swiss made software