阅读背景:

有没有一种简单的方法来确定文件的类型而不知道文件的扩展名?

来源:互联网 

I have a table with a binary column which stores files of a number of different possible filetypes (PDF, BMP, JPEG, WAV, MP3, DOC, MPEG, AVI etc.), but no columns that store either the name or the type of the original file. Is there any easy way for me to process these rows and determine the type of each file stored in the binary column? Preferably it would be a utility that only reads the file headers, so that I don't have to fully extract each file to determine its type.I have a table with a binary column which store




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: