So I am trying to programmatically browse and I want to upload a file to an input tag with the type of file.
How would I go about this? I don’t want the user to have to input any data, but to instead go after a predefined file.
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.
this is NOT possible since it would be a real security flaw – see http://www.w3.org/TR/html4/interact/forms.html#file-select