mime type detection

This is a discussion on mime type detection within the Linux Programming forums, part of the Platform Specific Boards category; I need to detect a file's mimetype for a Gnome VFS module (a multiuser file transfer protocoll...). I know gnome-vfs ...

  1. #1
    not-a-geek
    Join Date
    Apr 2004
    Posts
    210

    mime type detection

    I need to detect a file's mimetype for a Gnome VFS module (a multiuser file transfer protocoll...).
    I know gnome-vfs offers mimetype detection functions but I'd like to keep my project's core server/client-code free of any desktop specific bindings.
    Is there any other standard way to detect mime-types?

  2. #2
    Registered User
    Join Date
    Aug 2002
    Posts
    351

  3. #3
    not-a-geek
    Join Date
    Apr 2004
    Posts
    210
    It seems this is just a spec which is implemented by gnome-vfs and it's KDE equivalent, but doesn't provide a library on it's own. Anyway, I've decided to use the gnome-vfs code in a wrapper file which can be compiled for either gnome or kde.
    Thanks for your reply

  4. #4
    Registered User
    Join Date
    Aug 2009
    Posts
    1
    Hi

    I know forensictool.net 's mime detection program. You can use this

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Replies: 0
    Last Post: 03-20-2008, 07:59 AM
  3. Little Array Difficulty
    By G4B3 in forum C Programming
    Replies: 16
    Last Post: 03-19-2008, 12:59 AM
  4. Errors
    By Rhidian in forum C Programming
    Replies: 10
    Last Post: 04-04-2005, 12:22 PM
  5. gcc problem
    By bjdea1 in forum Linux Programming
    Replies: 13
    Last Post: 04-29-2002, 06:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21