John Joyce wrote: > Does anybody know how to identify (validate) mp3 files (other audio > files would be interesting as well) by 'magic number'? > I did find this online as a purported mp3 magic number (in hex of course), > 49 44 33 > but I'm not even going to bother using it since I don't know > definitively that all mp3's will have it, and I don't know where to > expect it in the file. does this help: http://raa.ruby-lang.org/project/filemagic/ Stefan