Hi Brian,
From your description, you got some certain error when uploading "exe" file
using the HtmlInputFile control in asp.net web application ,yes?
As far as I know, there is no buildin checking on the uploading file's type
in asp.net and generally we need to provide our checking code, such as
client validaiton script code, here is a tech article which has mentioned
this:
#Uploading Files Using the File Field Control
http://msdn.microsoft.com/library/en-us/dnaspp/html/aspnet-fileupload.asp?fr
ame=true#aspnet-fileupload_topic2c
and as for the error you get, would you provide some detailed information
on it ? Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx