I know I can get all kinds of information about a file being uploaded after
its run through CFFILE action=upload, but I'm trying to figure out how to
identify the file type BEFORE CFFILE has run.

 

I want to CFSWITCH on the mime type.

 

Any one know how to determine the mime type?

 

I tried grabbing the extension by the form.myfile variable is actually a
..tmp file, so that didn't work.

 

I've also tried CFFILE set to "read" but that seems to only work on local
files.

 

H.

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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/cf_lists/message.cfm/forumid:4/messageid:245874
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to