getting mimetype of a file

Discussion in 'Ruby' started by Ryan Paul, May 31, 2004.

  1. Ryan Paul

    Ryan Paul Guest

    anybody know how to get the mimetype of a file in ruby?

    TIA

    --SegPhault
    Ryan Paul, May 31, 2004
    #1
    1. Advertising

  2. Michael Neumann, May 31, 2004
    #2
    1. Advertising

  3. Ryan Paul

    Shu-yu Guo Guest

    On May 31, 2004, at 16:03, Ryan Paul wrote:

    > anybody know how to get the mimetype of a file in ruby?


    I wrote an interface to libmagic:

    http://mahoro.rubyforge.org

    Someone else wrote one too, but apparently RAA is down (?) so I don't
    know where it is.
    --
    Lo-lee-ta: the tip of the tongue taking a trip of three
    steps down the palate to tap, at three, on the teeth.
    Lo. Lee. Ta. GUO Shu-yu <>
    Shu-yu Guo, May 31, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?RGFuaWVsIENoYWl0?=

    HtmlInputFile: mimetype of image/jpeg vs image/pjpeg?

    =?Utf-8?B?RGFuaWVsIENoYWl0?=, Oct 20, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    922
    =?Utf-8?B?RGFuaWVsIENoYWl0?=
    Oct 20, 2004
  2. =?Utf-8?B?UGF0cmljayBG?=

    Mimetype .aspx?

    =?Utf-8?B?UGF0cmljayBG?=, Mar 11, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    22,174
    oliiix
    Jun 30, 2007
  3. Martin Honnen

    Problem with mimetype?

    Martin Honnen, Jun 25, 2004, in forum: XML
    Replies:
    3
    Views:
    525
    Rolf Magnus
    Jun 26, 2004
  4. Ryan Paul

    getting mimetype of a file

    Ryan Paul, May 31, 2004, in forum: Python
    Replies:
    4
    Views:
    365
    Christos TZOTZIOY Georgiou
    Jun 2, 2004
  5. Phoe6
    Replies:
    3
    Views:
    669
    dwelch91
    Jul 18, 2006
Loading...

Share This Page