Sorry if this is a bit off topic, but it's related to perl indirectly. I
have a web server which permits users to upload files. I have found that the
uploading browser does not always tag the file correctly i.e.
application/msword is often applied to .doc files which were actually
created in Word Perfect, so when the files are re-distributed, they continue
to carry the incorrect tag.

I have a unix style 'file' command written in Perl, which I have adapted to
work with my scripts, which correctly identifies a large number of file
types, and have been using that to verify that the information from the
browser is accurate. Unfortunately, I cannot find magic file definitions for
the newer versions of Microsoft Office applications (Word, Excel, and
Powerpoint) are the most important. I also need magic file definitions for
Star Office applications.

Does anybody out there have such animals?

Any help would be greatly appreciated.

ego
Edward G. Orton, GWN Consultants Inc.
Phone: 613-764-3186, Fax: 613-764-1721
email: [EMAIL PROTECTED]

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to