in reply to Re: Re: Re: How do I upload a file to a https server.
in thread How do I upload a file to a https server.
<input type="File" name="FILE1" size="40">
<input type="File" name="FILE2" size="40">
<input type="File" name="FILE3" size="40">
<input type="File" name="FILE4" size="40">
<input type="File" name="FILE5" size="40">
<input type="File" name="FILE6" size="40">
<input type="File" name="FILE7" size="40">
<input type="File" name="FILE8" size="40">
<input type="File" name="FILE9" size="40">
<input type="File" name="FILE10" size="40">
<input type="Submit" value=" Upload " > <input type="reset" value=" Reset ">
This is my code (I have tried many variations of this):
I get an "OK" response but the file never gets to the server. Can you see anything wrong?my $url = 'https://<address>/cgi-bin/upload.pl'; my $response = $browser->post($url,Content_Type => "multipart/form-data" Content => [file => ['data.txt']]); print ($response->status_line);
Thanks
Jonathan
|
|---|