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 <[email protected]> wrote:

From: Martin Paul <[email protected]>
Subject: [Bug-wget] Check for SSL support in wget
To: [email protected]
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 | [email protected]
 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 http://au.docs.yahoo.com/mail/smarterinbox

Reply via email to