![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jun 2009
Posts: 1
OS: winxp
|
Hi,
I am into writing a web application with c#( asp.net 2.0). I have a file upload control, and want to limit the file types using mime type. when I upload a .rar file, the application shows the mime type as "application/octect-streem". (uploadedFile.ContentType in HttpPostedFile class). this stops me from filtering .rar type files since the mime type of rar is "Application/x-rar-compressed" . I tried by registering .rar in IIS. Still the result is same? Please let me know how to include MIME Type so that when I select a rar file to upload, uploadedFile.ContentType should come as Application/x-rar-compressed ? ![]() Thanks in advance Last edited by Evk; 06-17-2009 at 06:59 AM. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|