Thread

Posted on Wed Oct 12 05:25:41 2005 by adervish
File upload prpblem
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??
Direct Responses: 1302 | Write a response
Posted on Fri Nov 11 16:14:15 2005 by abeltje in 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

-- Abe.
Write a response