in reply to Re: Is this a bug in HTML::Form::Input or am I doing something wrong?
in thread Is this a bug in HTML::Form::Input or am I doing something wrong?
This is not right. You can upload a file from script if you include its correctly encoded contents in the script generated HTTP request.
Ovid's comment regarding filenames in cookies is not related to this. As I understood it he just meant that there is no way to make a browser upload a file whose name has been provided by the server in a cookie.
I haven't tested myself but the problem seems to be that HTML::FORM::click will not automatically read the file from the hardisk and encode it in the HTTP::request object it generates, when submitting a "file" form element (this would require having a way of associating actual files to "file" form elements in HTML::Form. I think this would be a good improvement to this module).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ALERT Re: Is this a bug in HTML::Form::Input or am I doing something wrong?
by Speedy (Monk) on Mar 01, 2002 at 18:54 UTC | |
by gregorovius (Friar) on Mar 01, 2002 at 19:46 UTC | |
|
Re: ALERT Re: Is this a bug in HTML::Form::Input or am I doing something wrong?
by Pug (Monk) on Mar 04, 2002 at 15:30 UTC |