[plt-scheme] Guessing the file type?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Sun Jul 26 08:54:11 EDT 2009

On Unix/OS X there is a program called 'file' that works pretty well.

Also, if you use the mime type library in the PLT Web server, it uses
the system database of file extensions to return a mime type.


On Sun, Jul 26, 2009 at 6:48 AM, Amit Saha<lists.amitsaha at gmail.com> wrote:
> Hello all,
> Is there a known way to find the MIME type of a file: text, audio, etc ?
> Thanks a ton.
> Best,
> Amit
> --
> email: amitsaha.in at gmail.com
> Journal: http://amitksaha.wordpress.com
> µ-blog: http://twitter.com/amitsaha
> IRC: cornucopic on #scheme, #lisp, #math, #linux
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.