Hi again, If CFFile does not read the file content when uploading, then perhaps you can use CFFILE to read the BINARY content of that file that has been uploaded (before renaming or making it available anywhere for anyone to access) and determine its header makeup from that?
See the following link for a start on reading BINARY content of files: http://www.johnwbartlett.com/CF_tipsNtricks/index.cfm?TopicID=84 Example to display the ASCII value of the first 100 characters in a file. <cffile action="READBINARY" file="C:\Test1.pdf" variable="Data"> <CFLOOP index="loop" from="1" to="100"><CFOUTPUT>#Chr(Get(Data,loop))#</CFOUTPUT></CFLOOP> Cheers, Martyn ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258064 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4