ContentType Property?

  •  10-10-2008, 12:28 PM

    ContentType Property?

    I am evaluating your upload component and have a question.  I am storing the uploaded files to a SQL Server and need the ContentType property for the associated uploaded file.  This property is used when streaming the files back out to the client's browser later down the road.
     
    For example, a PDF might come in with "applicaiton/pdf" or an image as "image/tiff" or a Word document as "applicaiton/msword".  How can I capture that property using the ASP Upload control?
     
    Thanks.
View Complete Thread