Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I finally managed to get the uploading of files to a HTTPS server working through a perl script run on the command line (thanks to perlmonks!!).
However, when I call the script via a browser, I get the error:
501 Protocol scheme 'https' is not supported (Crypt::SSLeay not installed)
I do have Crypt installed. The code for calling the perl script frmo the browser is
htp.formOpen(curl=>url,cmethod=>'POST');
The perl code is
my $browser = LWP::UserAgent->new; my $response = $browser->post($url, Content_Type => "multipart/form-d +ata", Content => [FILE1 => [$filename]]);
Do I need to call the perl script in a different way from the browser if it is talking to a HTTPS server?
Thanks
Jonathan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Uploading files to a HTTPS server - 501 error
by iburrell (Chaplain) on Jun 14, 2004 at 16:15 UTC | |
by Anonymous Monk on Jun 15, 2004 at 12:18 UTC | |
by iburrell (Chaplain) on Jun 15, 2004 at 22:41 UTC | |
by Anonymous Monk on Jun 16, 2004 at 11:42 UTC | |
|
Re: Uploading files to a HTTPS server - 501 error
by Corion (Patriarch) on Jun 15, 2004 at 12:23 UTC | |
by Anonymous Monk on Jun 15, 2004 at 13:39 UTC |