Changing MIME Types

Hi,
I have a problem in downloading .xlsx or .docx, or .pptx files from the KM.
The above mentioned file types get opened as a 'zip' file instead of directly opening as the file.
I don't have any problem in opening .xls or .doc.
I added the file types in System Config->Utilities->MIME Types.
But still the problem remains the same.
Regards.
Jelbin

Thanks Sandeep.
Restarting worked.
Regards,
Jelbin

Similar Messages

  • Can changing mime types on server fix QTL in Quicktime X

    Can changing mime types on server fix QTL in Quicktime X
    Is there anything we can do on the server end to make Quicktime X recognize QTL files?
    We found that changing .qtl files to .mov files fixed it, but we have hundreds of .qtl files and it would be much better if we could change the mime type on the server to something that Quicktime X would recognize.
    -Thanks

    OMG! Thank you so much - this has been annoying me for MONTHS! I've been referring other forum posts to this one since it's a solution that actually works!
    TroyG

  • Changing MIME types in OSX

    Everytime someone sends me a Word file, Apple's Mail app always launches AppleWorks to launch the file and does not launch MS Word 98.
    How can I change the Internet Mime types in OSX?
    John

    You don't. Select one of those files, CMD+I, go to the Open With section, select Word 98, and apply to all. If that doesn't fix things, reset the LaunchServices database. Details in http://www.thexlab.com/faqs/resetlaunchservices.html

  • Changed mime type associations !

    I recently installed gimp, and now when I open any downloaded pdf files, they are opened in gimp.
    Files previously downloaded and saved are however opened in 'evince'. I use open-box, Chromium, Rox-filer and evince, as DE, browser, file-manager and document viewer respectively.
    I searched the wiki and found two entries that I thought might help, Default Applications and Custom file associations, I've tried both user specific options in these pages, here are the files I created:-
    [bance@archbox ~]$ cat .local/share/applications/defaults.list
    [Default Applications]
    pdf=evince.desktop
    [bance@archbox ~]$ cat .local/share/applications/evince.desktop
    [Desktop Entry]
    Name=Evince
    Exec=/usr/bin/evince
    MimeType=application/x-evince
    Icon=evince
    Terminal=false
    Type=Application
    Categories=DocumentViewer
    Comment=
    Neither of these has worked, do the files look ok? Have I made a mistake somewhere?
    OK whilst writing this post, I noticed that I have a file /usr/share/applications/mimeinfo.cache, It contains a list of mime type associations, would editing this work?
    TIA Steve

    you need!! the inode/directory setting in the mimetype list.  That's what chromium reads to autopen your file manager. 
    Make sure it matches the .desktop file appropriate for your file manager.  In the case of spacefm, it is not spacefm.desktop as you might expect, it is spacefm-folder-handler.desktop.
    Check your .desktop files for your fm.
    If you're still having trouble, you might want to post your mimeapps.list
    I noticed in post1 you were using defaults.list instead.  Reading the wiki is not super clear on this, but since I downloaded the pkg 'mimeo' I used mimeapps.list instead.
    I assume you read the file extension portion of the chromium part of the wiki:
    https://wiki.archlinux.org/index.php/Ch … sociations
    Moderator: Please take care to not duplicate entries when you forgot some information. Use the "Edit" button instead. And if you did inadvertently as in this case, please notify the moderators with the "Report" button so they can take action.
    Deleting the doubled entry. -- bernarcher
    Last edited by bernarcher (2013-02-03 02:00:49)

  • Changing MIME types in Vista

    Hey all.
    I'm having problems with Quicktime and Windows Vista. Essentially, I can no longer view PNG files in either IE7 or Firefox. The Quicktime plugin indicates it's handling PNG files rather than the built-in programs being able to handle them. I've seen that this problem may be due to Quicktime's MIME settings. However, the "MIME Settings" button simply doesn't work in Windows Vista - it redirects you to plain old program settings.
    Is there some flat file or registry setting I can edit which will do the same thing as the preferences menu I can no longer reach? It's getting really annoying.
    Any help would be greatly appreciated.

    Yes, please help with this, I can't seem to figure it out either, whenever I click "MIME Settings", it takes me to the Set Default Programs window

  • Mime-type question Gnome

    In Gnome I noticed something very strange. If I take an HTML file and name it helloworld.htm or helloworld.html then it shows up as a Mozilla bookmark with a mozilla bookmark icon. If I change the name to just "helloworld" then it lists as an html page.
    This isn't a huge problem, mostly aesthetic because the html icon is nicer, but does anyone have any idea of how to get the files with html extensions to show up as html pages and not bookmarks?
    I have the following mime related files installed:
    current/mime-types 1.0-1
        Provides /etc/mime.types
    extra/gmime 2.2.10-1
        Core mime parsing library
    extra/gnome-mime-data 2.18.0-3 (gnome)
        The base MIME and Application database for GNOME
    extra/nail 11.25-2
        A mail user agent derived from Berkeley Mail 8.1 and contains builtin
        support for MIME messages and IPv6
    extra/perl-file-mimeinfo 0.14-1
        Determine file type
    extra/perl-mime-lite 3.01-1
        Perl module that provides lightweight MIME generator
    extra/shared-mime-info 0.22-1
        Freedesktop.org Shared MIME Info
    community/mime-editor 0.5-1 (rox-desktop)
        Shared-mime info database editor, useful for changing MIME-type info in rox
        applications
    community/pantomime 1.2.0pre2-1
        A set of Objective-C classes that model a mail system
    community/perl-mime-parser 5.420-2
        Perl/CPAN Module MIME::Parser : Parses streams to create MIME entities
    community/perl-mime-types 1.19-2
        Perl/CPAN Module MIME::Types : Information and processing MIME types
    community/synce-libmimedir 0.4-1
        provide a means of communication with a Windows CE device - library that
        parses MIME Directory Profile.

    neodreams wrote:I have the same problem, you're not alone
    That does make me feel better... but no one honestly has any idea of how to fix this???

  • How to change default application associated with some mime types?

    When we install some new program, for example GIMP, I assume the newly installed program is added to some mime type database, and the /usr/share/applications/mimeinfo.cache file is automatically generated.
    Using my example, GIMP will be the default application for all its registered mime types, even application/pdf. I surely don't want this to happen, and I surely don't want to create all kinds of files that GIMP registered and right click on them and choose Properties and then change it in the Open with... tab. I want to systematically de-prioritize GIMP so that it will not override my previously assigned default applications.
    I wrote a script to modify the mimeinfo.cache file, and it seems to work great. However, after a reboot or upgrade or something I didn't notice, the default application of application/pdf is reconfigured to GIMP. I think the cache suffix of the file indicates that it is just a cache and may be changed by system unnoticed. So I am looking for a new way to change the default applications.
    As far as I know or guess from the phenomena, there should be some system utility that generates the mimeinfo.cache file, it seems to parse all the *.desktop files under /usr/share/applications and register them to certain mime types accordingly. The sequence of the *.desktop files get parsed seems to be related to the time the application is installed, and the newly installed applications seems to be parsed later and inserted in the front of the application list or be parsed earlier and appended to the application list. Is there some place I can change the sequence of the parsing? Or is there some place I can change the behavior of the system utility?
    I know that I can populate my ~/.local/share/applications/mimeapps.list to override the system wide defaults, however, I want a more elegant way to this.
    Any opinion on this is welcomed.
    Last edited by AugustePop (2010-05-14 05:47:15)

    Ah, right. Don't know what DE you are on, but in Gnome:  right-click a (e.g. pdf) file -> Preferences -> Open with.
    All Applications listed there will be available from the right click menu, the marked one will be used on double-click.
    errgrh...
    I surely don't want to create all kinds of files that GIMP registered and right click on them and choose Properties and then change it in the Open with... tab. I want to systematically de-prioritize GIMP so that it will not override my previously assigned default applications.
    I guess what I am trying to propose is this: "de-prioritize" GIMP in its .dekstop file for the types you dont want it to be associated with, and manually add it back in through "Open With" for the file types you want it to be an option. Not sure if this is solving anything for you though
    Last edited by hokasch (2010-05-14 10:28:57)

  • [svn] 609: Changed the svn:mime-type of the SDK's milestones.html file.

    Revision: 609
    Author: [email protected]
    Date: 2008-02-21 14:47:48 -0800 (Thu, 21 Feb 2008)
    Log Message:
    Changed the svn:mime-type of the SDK's milestones.html file.
    Property Changed:
    flex/sdk/milestones.html

    the web xml mime type setting are for static files served by the server...
    if you print a file directly to the output of the servlet, you must set the mime type, so DO write :
    response.setContentType( "application/vnd.ms-excel" );
    IE "works fine" because it also uses the file extension to decide the mime type... but in the absolute, it's a wrong behaviour

  • How to set Mime Type for Static Files

    Hi All,
    I am working on Apex 3.2.1.00.10.
    When I am trying to upload (create) a ".js" file into Static Files under Shared Components of an application; it is saving as "*text/plain*" for Mime Type. But I need Mime type to be set as "*application/x-javascript*".
    Please help me to change the Mime type of .js file.
    Or is there any way to upload the file directly as "*application/x-javascript*" as its Mime Type.
    Thanks in advance.
    Umesh

    In IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
    After you've clicked that, you can add the two mime types you need;
    Associated Extension MIME Type
    .jar application/x-java-jar-file
    .jnlp application/x-java-jnlp-file
    I'm assuming that it is the same in W2k/IIS5.

  • Quicktime MIME types translated in non-english versions

    In the continuation of a previous thread, there seems to be a problem with the last quicktime update that translated mime types's names (and using chars like "í" and "á), in non-english versions of quicktime and macosx (in my case, portuguese versions), that might conflict with browsers like firefox, preventing them from opening embed vídeos. For example, i have MIME types with names like "aplicação/x-rstp" and "áudio/x-mp3" which are causing several issues. How can I change them back to english and solve this problem?
    Thanks in advance.

    No one?

  • Mime-type and/or extension of script file

    I would like to generate a script file dynamically on my web server and then have it downloaded to my users such that they can simply double-click the file and have it execute. I've gotten pretty close by using the ".command" extension, but it still requires a "chmod +x filename" after download in order to work properly. Is there another extension or a mime-type that I could use that would cause Mac OS X 10.4 and/or 10.5 to grant execute rights to the user that downloaded it? I'm not married to it being shell script if it can be done with AppleScript, Ruby, etc that would be great. It basically just has to be text file (non-binary format) so I can dynamically generate it on the server side.

    Hi Daniel,
    do you use EPG, mod_plsql or APEX Listener? Have you changed the connection mechanism after upgrading to 4.2.1?
    If you use the APEX Listener, which version do you use? Which browser and version do you use to upload the file? Does it reproduce with other browsers as well?
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • How to use mime type..

    Hi frnds
    i have my data in a tabular format in jsp. my requirement is to create a EXCEL report for tht data using javascript (using MIME type change).
    can anyone help me to create xl report.

    Please search the forums. There are many discussions about it.

  • Case sensitive file extensions on mime.types?

    Hello,
    I'm facing a weird problem at customers's site.
    There is an iAS 10.1.3.3 installation on a Windows 2000 server. There is an OC4J container called "OC4J_FR" where their application is depoyed.
    The trouble we're facing is the following:
    on the %ORACLE_HOME%/j2ee/OC4J_FR/config/mime.types we add the following 2 entries:
    image/tiff                    tif tiff
    application/vnd.ms-excel     xls
    So, when we put someFile.tif (or someOther.xls) under the container public directory it is possible for users to access them via the URL
    http://servername:port/webContextRoot/someFile.tif
    And this works OK.
    If we try to rename the above file into something like myFile.TIFF (please note the extension in uppercase) Internet Explorer opens it like text, wiring this "rubbish":
    II*Àg ÒgL1ÂÊ$(2ÈdÙ¨¦Í@6j)³P‘<mò°Ú¨³
    etc....
    While Firefox opens it correctly. I also tried to add on mime.types the following (even if on the Apache website it is told that this is useless...)
    image/tiff                    TIF TIFF
    But still it doesn't work.
    Any hints/patches/workarounds/ideas/anything?
    Thanks,
    - Paolo

    Can't really say what's wrong but I quickly tried it with OHS (Oracle HTTP Server) and it works fine both in Firefox 3.0 and IE 6.0 without making any change (in mime type configuration). I copied two tiff files (sample1.tiff and sample2.TIFF) in $OH/Apache/Apache/htdocs directory and then was successfully able to access both using http://host.domain:ohs_port/sample1.tiff and http://host.domain:ohs_port/sample2.TIFF.
    When you say you tried with Apache website, is above what you tried too?
    Thanks
    Shail

  • How to determine mime-type of a file using OSB

    I was working on a requirement where in it requires to use FILE/ FTP adapters using OSB or BPEL as solution. The idea is to pick up files from one location to another location for certain legacy platforms. The real issue is, someone can put a JPEG file in the upload/download location(s), merely by changing the extensions. When this happens the systems will not process since the mime-type is incorrect.
    I know of an open-source API (Apache-Tikka) to determine the mime-types, but then if we use open-source why would customer buy from us.
    The intention is to pick-up the file and simply pass-it (and not parse) on to next system using File or FTP adapter, but in the process, cross check the MIME-TYPE before doing so.
    Any solution using Oracle Service Bus or BPEL would help

    HI Birender,
    Kindly go through the metalink doc for processsing jpeg/xml/pdf etc any atachement using bpel :Understanding XPATH functions for processing MIME attachments with BPEL PM in SOA Suite 11gR1 [ID 1272093.1]
    Regrds,
    olety

  • Mime-type tag in web.xml and attachment download

    i have set a mime-type in web.xml as below:
    <mime-mapping>
         <extension>xls</extension>
         <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    And i have a simple jsp that only shows a table and i am making this jsp to get downloaded as an excel attachment. To make it possible i have written the following line in the JSP:
    response.setHeader( "content-disposition", "attachment; filename=myexcel.xls" );
    But i am not setting the content type first by writing:
    response.setContentType( "application/vnd.ms-excel" );
    since i have already mentioned the appropriate mime-type for excel files in web.xml.
    I am using both mozilla and IE. Both are showing file download dialog. But IE is able to correctly identify the type of the attachment and opens it up with Microsoft Excel whereas mozilla fails to identify the type, assumes it to be an HTML document and opens it up in a new window of IE.
    mozilla works fine only when i set the content type in the JSP itself. But IE works in all conditions even without having the mime-type tag in web.xml.
    If i have already specified the mime-type for particular type of file in web.xml, is there any requirement to set the content type again in the JSP/servlet?
    Please help. I even changed the mime-type for .xls (excel) files in web.xml and made it text/plain, but still the same thing is happening. IE is always showing the correct file type where as mozilla is taking it as an HTML document.
    i am using weblogic server 8.1.

    the web xml mime type setting are for static files served by the server...
    if you print a file directly to the output of the servlet, you must set the mime type, so DO write :
    response.setContentType( "application/vnd.ms-excel" );
    IE "works fine" because it also uses the file extension to decide the mime type... but in the absolute, it's a wrong behaviour

Maybe you are looking for

  • Apple treats old versions of my Apple ID as if they are separate accounts?

    I am transferring my data from one iPhone to another via iCloud.  Overall, the transfer is going fine. However: A long time back when the iTunes store first launched, I created an Apple ID to purchase music.  At the time, this was just a user name. 

  • Cross references corrupted after placing Word document into an InDesign document

    I am placing a word document which contains cross references to headers and captions/figures within the document. They seem to be fine and function correctly in the Word document, however, after I place this word doc into my InDesign doc, I take a lo

  • Calendar in Notification Center

    I want to be able to have a look at all my daily calendar's appointments in Notification Center. Even the ones that may have expired several hours ago (but always within the same day of course). Instead, what I get is a limited time frame from now on

  • Outlook 2013 - Online Archive folders do not remember expand / collapse

    For our QA group, we have just upgraded them from Office 2010 to Office 2013 SP1. We have one user that noticed something. With Outlook 2010, the client would remember which folders he had expanded or collapsed under his "Archive" (the online archive

  • DAO question

    I am working on a slightly different variation of DAO pattern as shown by Sun: * I have 2 Singleton classes "MSSqlServerConnectionManager" and "OracleConnectionManager". ( For brevity I will consider only 1): public class MSSqlServerConnectionManager