develooper Front page | perl.perl5.porters | Postings from December 2021

Re: OpenSSL alternative support WAS Re: Pre-RFC: supporthttpsout-of-the-box

Thread Previous | Thread Next
From:
Salvador Fandiño
Date:
December 10, 2021 12:44
Subject:
Re: OpenSSL alternative support WAS Re: Pre-RFC: supporthttpsout-of-the-box
Message ID:
26eea94f-ab98-6974-d6f4-8e04d7c45da5@gmail.com
On 10/12/21 11:37, Nicholas Clark wrote:

> 2) Are curl and wget likely to be found on Win32? Is there any command line
>     tool that a HTTP::TIMTOWTDI module can shell out to, to deal with https?
> 

This works for me on Windows 10:

bitsadmin /rawreturn /transfer perl /download ^
   https://www.cpan.org/src/5.0/perl-5.34.0.tar.gz ^
   c:\users\salva\perl2.tgz


Also, urlmon.dll provides URLDownloadToFile:

   $d = Win32::API->new(urlmon => URLDownloadToFileA => 'NPPNN', 'N');
   $d->Call(0, "https://www.cpan.org/src/5.0/perl-5.34.0.tar.gz",
            'c:\users\salva\perl3.tgz', 0,0);


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About