-
-
Notifications
You must be signed in to change notification settings - Fork 299
Downloading gzipped files decompresses and truncates the content #8263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I cannot reproduce this issue. Added test in 7df441c. Can you please post the transcript from the Transfers window (Ctrl-L) if you reopen this issue. If you have choosen to open the downloaded file with the default application it could be uncompressed after the download is complete. Refer to Preferences → Transfers → Downloads → Open downloaded files with default application. |
I added a few files so you can see my results. |
Replying to [comment:3 thuettner]:
Can you you let me know the setting in Preferences → Transfers → Downloads → Open downloaded files with default application. and try to disable the feature if it is currently enabled. |
The flag was not checked and there is no default application defined. Replying to [comment:7 dkocher]:
|
I have Windows 8.1 (not Windows 7). |
Still cannot reproduce the issue using your test file. I must assume there is another process that touches the file after the download is complete. |
Guys, I got the same thing. Platform: Windows 7. |
Also noted in (https://groups.google.com/forum/#!topic/cyberduck/yo7YldedY9E). |
Replying to [comment:14 dkocher]:
Can you confirm that your use case is manually compressing the content and setting the |
No, I can't, unfortunately. Metadata-Info tab says this: P.S. |
I can reproduce the bug here with files in S3 that are compressed with a As a resolution I think we best disable the detection of |
See also Serving Compressed Files. |
Thank you guys! It's working fine now. |
I just tried it out with the latest version and downloaded CloudTrail files from S3. The files still get decompressed to plain text and then cut. |
Have you updated to the snapshot build? Maybe this can help you: |
You are right, that solves the issue. |
Thanks for confirming the issue is resolved. |
When I download CLoudTrail files from AWS S3, the files get decompressed and truncated.
For instance, the file AWSLogs//CloudTrail/////CloudTrail__*.json.gz has a size of 32.5KB.
Downloading it, the file becomes plain text (decompressed) and has a length of 32.5KB. Of course, when you decompress it it should have a bigger length afterwards, not the compressed length.
Btw, decompressing should be an option. Is really nice to have, but not useful in all cases.
Attachments
478983378254_CloudTrail_eu-west-1_20140617T0005Z_38m28JInQHaNeCTz.json
(53.7 KiB)478983378254_CloudTrail_eu-west-1_20140617T0005Z_38m28JInQHaNeCTz.json.2.gz
(4.9 KiB)478983378254_CloudTrail_eu-west-1_20140617T0005Z_38m28JInQHaNeCTz.json.gz
(4.9 KiB)cyberduck transfers.png
(53.5 KiB)The text was updated successfully, but these errors were encountered: