i’m wondering is that possible to indicate the mask for file type by default we can upload all file types . Thanks
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using the standard HTML file input control you cannot specify masks. There are some components such as Uploadify which allow you to specify this mask. Obviously all those can be faked on the client so if you really need to reliably ensure that the uploaded file is of given type is to do this on the server side.