I am trying to use IE::Mech to post a file. In the doc for Mechanize.pm, it cryptically mentions that for security's sake, you must explicity set the filename for uploads -- i can't figure out how to do this. And using none of input->value set_visisble etc do anything at all. From what i can tell, this security feature is not a part of the Perl package but is some hacked up crack that MSFT rolled into IE. Can anyone suggest a solution??
Posted on Fri Nov 11 16:14:15 2005
by abeltjein response to 1151
Re: File upload prpblem
[I may have answered privately; but now for all to see]
After some study (IE automation docs), I found there is no way at the moment to set the value of a <INPUT TYPE=FILE> control.
Sorry, if there's no API to do things, I can't implement it