Get File Info


hello,

i saving, in sql table, files of various types:

image/jpeg, image/gif, application/pdf, audio/mpeg, text/css, text/plain, etc.

 

later retrieving files database.

i need stream following properties:

1 - mime type.

2 - length.

3 - height , width if file image.

 

is possible?

or need save info in database?

 

thank you,

miguel

i save these individually, make things easier on you. have these columns {filename, file, filelength, filedimensions}

john grove, mcc - senior software engineer


Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

wcf-sql adapter bug for operation on same table

Error connecting to Azure Blob using Shared Access signature