Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
Re: How can i get the content type of uploaded files
Re: How can i get the content type of uploaded files
05-27-2009, 10:41 PM
cutechat
Joined on 07-22-2004
Posts 2,332
Re: How can i get the content type of uploaded files
Reply
Quote
Hi,
The content type is from client and not trust-able.
You can determine the content type from the file extenstion.
Please check our advanced example:
App_Code\SampleUtill.cs
static public string GetMimeType(string filename)
Regards,
Terry
View Complete Thread