Problem with wget | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Problem with wget

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-10-2008
max29583 max29583 is offline
Registered User
 
Join Date: Dec 2006
Last Activity: 18 February 2014, 1:49 PM EST
Location: UK
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Problem with wget

Hi,

I want to download some patches from SUN by using a script and I am using "wget" as the utillity for this.

The website for downloading has a "https:" in its name as below
https://sunsolve.sun.com/private-cgi/pdownload.pl?target=${line}&method=h

and on running wget as below

wget --http-user=${UserID} --http-passwd=${UserPWD} --proxy-user=${PROXYUSER} --proxy-passwd=${PROXYPASSWD} -nv "https://s
unsolve.sun.com/private-cgi/pdownload.pl?target=${line}&method=h" -O ${DOWNLOADIR}/${line}.zip >> ${LOGFILE} 2>&1

I am getting error as

https://sunsolve.sun.com/private-cgi...1-01&method=h: Unsupported scheme.


Please help me find why the error is coming as Unsupported scheme.

regards,
Abhi
Sponsored Links
    #2  
Old 09-10-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
 
Join Date: Mar 2008
Last Activity: 28 March 2011, 6:41 AM EDT
Location: /there/is/only/bin/sh
Posts: 3,653
Thanks: 0
Thanked 10 Times in 8 Posts
You need to get a wget with https support. Some distributors don't build that in by default because the SSL libraries used to have an icky license.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
wget and & davcra UNIX for Dummies Questions & Answers 5 02-23-2012 10:26 AM
Problem with wget no check certificate. davcra UNIX for Dummies Questions & Answers 0 04-21-2011 02:18 AM
wget pdf downloading problem obo1234 UNIX for Dummies Questions & Answers 5 01-05-2011 12:15 PM
Wget FTP problem! mjdousti UNIX for Advanced & Expert Users 9 01-28-2007 01:58 PM
wget -r photon Shell Programming and Scripting 1 10-08-2004 04:03 PM



All times are GMT -4. The time now is 11:16 PM.