Cyberduck S3 and Mime Types

The Cyberduck forums have moved to Google Groups, this forum is read only.
locamoda
Harmless
Posts: 1
Joined: Mon Oct 27, 2008 8:31 pm

Cyberduck S3 and Mime Types

Postby locamoda » Mon Oct 27, 2008 8:33 pm

Hey All,
I was wondering if there is a way to make CyberDuck send the mime type to S3 when uploading a file. Currently my files are getting saved as xml :(

dkocher
Cyberduck Team
Posts: 763
Joined: Thu Feb 03, 2005 1:41 pm
Location: Switzerland
Contact:

Re: Cyberduck S3 and Mime Types

Postby dkocher » Mon Oct 27, 2008 9:51 pm

There is a default mapping applied for a list of known extensions. Refer to http://trac.cyberduck.ch/browser/trunk/lib/mime.types

What is the extension you would like to set the MIME type manually?

papyromancer
Harmless
Posts: 1
Joined: Mon Sep 28, 2009 3:16 pm

Re: Cyberduck S3 and Mime Types

Postby papyromancer » Mon Sep 28, 2009 3:21 pm

I've run into this problem as well getting firefox 3.5 to recognize the mime type of ogg video files, here's my change off an svn checkout to get it working:

Code: Select all

Index: lib/mime.types
===================================================================
--- lib/mime.types   (revision 5344)
+++ lib/mime.types   (working copy)
@@ -583,6 +583,7 @@
 video/mpv
 video/mpeg         mpeg mpg mpe
 video/nv
+video/ogg      ogv
 video/parityfec
 video/pointer
 video/quicktime         qt mov


Everything seems to have compiled nicely, I'll post here again if I continue to have trouble. (i.e. silence = success)

dkocher
Cyberduck Team
Posts: 763
Joined: Thu Feb 03, 2005 1:41 pm
Location: Switzerland
Contact:

Re: Cyberduck S3 and Mime Types

Postby dkocher » Mon Sep 28, 2009 8:19 pm

Thanks. I have updated the MIME mapping file in revision http://trac.cyberduck.ch/changeset/5354.


Return to “Cyberduck”

Who is online

Users browsing this forum: No registered users