Hi , I used the WOFileUpload to upload files. The files may be in any format such as ".pdf, .txt, .png" etc. I have no problem in uploading , when i download i want to get the Mime type of the file and show the preview of that file to the user. So i tried using the "mimeType" attribute in the "WOFileUpload". but most of the time it returns "application/octet-stream" as mime type, even for image files . Is there any method to get the actual Mime type such as "image/gif" , "text/plain" ... etc.
FYI , DB is mysql , Data type i used is BLOB . -- Thanks Regards, Ziyaaf
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
