bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Check for SSL support in wget


From: YT Lim
Subject: Re: [Bug-wget] Check for SSL support in wget
Date: Thu, 26 Feb 2009 16:33:27 -0800 (PST)

I had the same problem and found a solution by using cURL. According to the explanation I googled, SSL 3 is apparently quite flaky. You'll have to tell cURL to specifically use version 3 to make it work. I tried the same on wget and it still failed fail to work. By the way, I tested both on Windows.

/Why Tea

--- On Thu, 26/2/09, Martin Paul <address@hidden> wrote:

From: Martin Paul <address@hidden>
Subject: [Bug-wget] Check for SSL support in wget
To: address@hidden
Received: Thursday, 26 February, 2009, 9:16 PM

Hi,

I'm using wget in a script, and want to use HTTPS instead of HTTP if wget supports it. Therefore I'm looking for a supported way to determine whether a certain instance of wget supports HTTPS.

Looking through the source of various wget versions, I found this to be one way:

  wget --help | grep HTTPS

This works because wget (>= 1.10) only shows the HTTPS options if it's compiled with SSL support. As far as older releases are concerned, I could check for the old deprecated SSL options or always use http with those old binaries.

Is there a better way to perform the check I need? Is the method I use now supposed to be supported in ongoing versions of wget?

Thanks in advance! BTW, I'm not subscribed to the list, so a Cc: would be nice.

Martin.
--                          Martin Paul | Systems Administrator
   Institute of Scientific Computing | address@hidden
Nordbergstrasse 15/C/3, A-1090 Wien | Tel: 01 4277 39403
        http://www.par.univie.ac.at/ | Fax: 01 4277 9394




Stay connected to the people that matter most with a smarter inbox. Take a look.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]