Check uploaded file type?
Can I check uploaded file type?
This is my code:
if (file.ContentType=="application/vnd.ms-excel")
But if I rename a txt file to .xls it not run :(
Thankss
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

mibuytRank #3,026 · 476 pointsPosted Mar 13, 2005, 10:53 PM EST
alainc21 pointsPosted Mar 14, 2005, 7:10 AM EST