[plt-scheme] Guessing the file type?
Jay McCarthy wrote:
> On Unix/OS X there is a program called 'file' that works pretty well.
Yep. I was looking for a plt-scheme interface..
>
> 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.
Yeah..I came across this. However, I thought of consulting the list to
enquire if there was another way..
Thank you!
Best,
Amit
>
> Jay
>
> 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
>>
>
>
>
--
email: amitsaha.in at gmail.com
Journal: http://amitksaha.wordpress.com
µ-blog: http://twitter.com/amitsaha
IRC: cornucopic on #scheme, #lisp, #math, #linux