Is it so that the inputstream you use when you want to upload a file to a database does not support TIF??????
when u want to use the type property????????
Printable View
Is it so that the inputstream you use when you want to upload a file to a database does not support TIF??????
when u want to use the type property????????
Huh? streams are just data, they dont care about file types. You need to be more specific about what your problem is.
OK,
It seems that when yoy upload a TIF files, the filetype is not regonized.
For example when I upload a JPG file I can use the filetype property to know what filetype it is.
I also store the filetype in the database, so my program can also view the files.
Only when I upload a TIF file he gives as a filetype OCTET/bytestream or something and not TIF.
When I change the filetype in the database, after the file has been stored, into TIF and try to view it in my program I also get an error.