Unix/Linux Go Back    

Shell Programming and Scripting BSD, Linux, and UNIX shell scripting Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Problem with wget

Shell Programming and Scripting

Thread Tools Search this Thread Display Modes
Old Unix and Linux 09-10-2008   -   Original Discussion by max29583
max29583's Unix or Linux Image
max29583 max29583 is offline
Registered User
Join Date: Dec 2006
Last Activity: 5 February 2016, 4:11 AM EST
Location: UK
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Problem with wget


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

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.

Sponsored Links
Old Unix and Linux 09-10-2008   -   Original Discussion by max29583
era's Unix or Linux Image
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 11 Times in 9 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 11:26 AM
Problem with wget no check certificate. davcra UNIX for Dummies Questions & Answers 0 04-21-2011 03:18 AM
wget pdf downloading problem obo1234 UNIX for Dummies Questions & Answers 5 01-05-2011 01:15 PM
Wget FTP problem! mjdousti UNIX for Advanced & Expert Users 9 01-28-2007 02:58 PM
wget -r photon Shell Programming and Scripting 1 10-08-2004 05:03 PM

All times are GMT -4. The time now is 06:40 PM.