Content Type of uploaded file

  •  03-01-2010, 9:46 AM

    Content Type of uploaded file

    How do i obtain the ContentType of the file(s) being uploaded?
     
    I have examined the parameter of type UploaderEventArgs in the FileUploaded event, but it does not expose this property.
     
    All browsers except firefox are ok with this, but firefox does not lile the contentType to be empty and treats certain files (such as word documents) as XML when the content type is not set.
View Complete Thread