By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,806 Members | 1,465 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,806 IT Pros & Developers. It's quick & easy.

File upload errors when exe on Input type = file control

P: n/a
When I use the file upload control <input type = file> and try to upload an
exe file it errors, how do i get it to allow exe file uploads so I can
display a frendly warrning message about they might be dangerous? thanks!
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Hi Brian,

From your description, you got some certain error when uploading "exe" file
using the HtmlInputFile control in web application ,yes?

As far as I know, there is no buildin checking on the uploading file's type
in and generally we need to provide our checking code, such as
client validaiton script code, here is a tech article which has mentioned

#Uploading Files Using the File Field Control

and as for the error you get, would you provide some detailed information
on it ? Thanks.

Steven Cheng
Microsoft Online Support

Get Secure!
(This posting is provided "AS IS", with no warranties, and confers no

Get Preview at ASP.NET whidbey

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.