Reply to Using with flash upload, finding the mime-type
Using with flash upload, finding the mime-type new!
# Reply
by Vincent Morel, 17 years ago
I'm using a flash uploader and the problem is that flash upload file with application/octet-stream for every kind of file! So if you want to use all the image stuff I find a small hack for your class... Here it is an tell me what do you think about it. Maybe good for a 0.26!! I test it on macosx, it works great (it use the shell). If none of the 3 function works, I don't know how to get the right mime-type... Here is my code, juste inserted before // if the file is an image, we gather some useful data