[Cyberduck-trac] [Cyberduck] #7933: [S3] Issue with .txt file and setted headers

Cyberduck trac at trac.cyberduck.io
Mon May 5 10:02:30 UTC 2014


#7933: [S3] Issue with .txt file and setted headers
---------------------------+---------------------------
 Reporter:  dafresh        |         Owner:  dkocher
     Type:  defect         |        Status:  closed
 Priority:  normal         |     Milestone:  4.4.5
Component:  s3             |       Version:  4.4.4
 Severity:  major          |    Resolution:  worksforme
 Keywords:                 |  Architecture:  Intel
 Platform:  Mac OS X 10.9  |
---------------------------+---------------------------

Comment (by dafresh):

 Replying to [comment:1 dkocher]:
 > I don not understand and cannot reproduce the issue.

 Could you please clarify which point you don't understand ?

 >  * The `Content-Encoding` is only about the compressed content over the
 wire.
 Did know that, ok.
 >  * The `Content-Type` does not change the file transfer in any way.
 It seams it does, because when I change it I can download the file.
 >  * The ''Finder.app'' will determine `UTF-8 Unicode text` because of the
 `.txt`extension in the filename.
 I do not agree, "file" cmd goes read the meta-data and head of files, the
 extension does play any role here. An example with 1 text and one pdf  :
 {{{
 $ file file.txt test.pdf
 file.txt: UTF-8 Unicode text
 test.pdf: PDF document, version 1.5
 $ mv file.txt file
 $ mv test.pdf test
 $ file file test
 file: UTF-8 Unicode text
 test: PDF document, version 1.5
 }}}



 >
 > It might be a server issue if the content is advertised to be compressed
 over the wire but is in fact sent as plain text.

 Note that it works well with other clients like s3cmd, DragonFly, so this
 tend to exclude the "server side" issue, don't you agree ?

-- 
Ticket URL: <https://trac.cyberduck.io/ticket/7933#comment:2>
Cyberduck <http://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list