Hi All,

I want to validate a file format before uploaded on server.

I know it can be validate by content-type or using regex.
But I wonder if someone change the extension of file and then uploaded
it....

I have to validate only two format: 1) wav 2) gsm

Thanks
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to