Sponsored Content
Full Discussion: Problem with wget
Top Forums Shell Programming and Scripting Problem with wget Post 302234702 by max29583 on Wednesday 10th of September 2008 06:52:50 AM
Old 09-10-2008
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
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

wget -r

I have noticed a lot of expensive books appearing online so I have decided to copy them to CD. I was going to write a program in java to do this, but remembered that wget GNU program some of you guys were talking about. Instead of spending two hours or so writing a program to do this.... (1 Reply)
Discussion started by: photon
1 Replies

2. UNIX for Advanced & Expert Users

Wget FTP problem!

Hi, I've tried to download from ftp sites by wget but it failed and says "Service unavailable" but when I use sftp in binary mode and use "get" command it works perfectly. What's the problem? BTW: I tried both passive and active mode in wget. thnx for ur help (9 Replies)
Discussion started by: mjdousti
9 Replies

3. UNIX for Dummies Questions & Answers

wget pdf downloading problem

Hi. I am trying to make a mirror of this free online journal: http://www.informaworld.com/smpp/title~content=t716100758~db=all Under the individual issues, the link location for the "Full Text PDF" does not have ".pdf" as an extension -- so when I use wget it misses the file. However clicking... (5 Replies)
Discussion started by: obo1234
5 Replies

4. UNIX for Dummies Questions & Answers

Problem with wget no check certificate.

Hi, I'm trying to install some libraries, when running the makefile I get an error from the "wget --no check certificate option". I had a look help and the option wasn't listed. Anyone know what I'm missing. (0 Replies)
Discussion started by: davcra
0 Replies

5. Shell Programming and Scripting

wget help?

can someone please help in understanding this shell script? wget --progress=dot:mega --cut-dirs=4 -r -c -nH -np --reject index.html*,icons/*.gif \ http://*****.oz.xxxxx.com:<portnum>/omcsm/releases/dew/${UPGRADE_VERSION}/ (1 Reply)
Discussion started by: dnam9917
1 Replies

6. Shell Programming and Scripting

Problem with wget and cookie

Dear people, I got a problem with an scrip using wget to download pdf-files from an website which uses session-cookies. Background: for university its quite nasty to look up weekly which new homeworks, papers etc. are available on the different sites of the universites chairs. So I wanted a... (1 Reply)
Discussion started by: jackomo
1 Replies

7. UNIX for Dummies Questions & Answers

Wget -i URLs.txt problem

Hi Everyone, I have a problem with wget using an input file of URLs. When I execute this -> wget -i URLs.txt I get the login.php pages transferred but not the files I have in the URLs.txt file. I need to use the input file because it will have new products to download each week. I want my VA to... (3 Replies)
Discussion started by: Keith londrie
3 Replies

8. Red Hat

Wget

If I run the following command wget -r --no-parent --reject "index.html*" 10.11.12.13/backups/ A local directory named 10.11.12.13/backups with the content of web site data is created. What I want to do is have the data placed in a local directory called $HOME/backups. Thanks for... (1 Reply)
Discussion started by: popeye
1 Replies

9. Proxy Server

Problem with wget

I cannot download anything using wget in centos 6.5 and 7. But I can update yum etc. # wget https://wordpress.org/latest.tar.gz --2014-10-23 13:50:23-- https://wordpress.org/latest.tar.gz Resolving wordpress.org... 66.155.40.249, 66.155.40.250 Connecting to wordpress.org|66.155.40.249|:443...... (3 Replies)
Discussion started by: nirosha
3 Replies

10. Shell Programming and Scripting

Wget - working in browser but cannot download from wget

Hi, I need to download a zip file from my the below US govt link. https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP I only have wget utility installed on the server. When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
UPDATE-SMART-DRIVEDB(8)                                       SMART Monitoring Tools                                       UPDATE-SMART-DRIVEDB(8)

NAME
update-smart-drivedb - update smartmontools drive database SYNOPSIS
update-smart-drivedb [OPTIONS] [DESTFILE] DESCRIPTION
[This man page is generated for the Linux version of smartmontools. It does not contain info specific to other platforms.] update-smart-drivedb updates /var/lib/smartmontools/drivedb/drivedb.h or DESTFILE from smartmontools SVN repository. It tries to download first from the current branch and then from trunk. The tools used for downloading are either curl(1), wget(1), lynx(1), or svn(1). The old file is kept if the downloaded file is identical (ignoring the differences in Id string) otherwise it is moved to drivedb.h.old. OPTIONS
-s SMARTCTL Use the smartctl(8) executable at path SMARTCTL for drive database syntax check. The form '-s -' disables the syntax check. The default is /usr/sbin/smartctl. -t TOOL Use TOOL for download. TOOL is one of: curl wget lynx svn. The default is the first one found in PATH. -u LOCATION Use URL of LOCATION for download. LOCATION is one of: sf (Sourceforge code browser via HTTPS), svn (SVN repository via HTTPS), svni (SVN repository via HTTP), trac (Trac code browser via HTTPS). The default is svn. --cacert FILE Use CA certificates from FILE to verify the peer. --capath DIR Use CA certificate files from DIR to verify the peer. --insecure Don't abort download if certificate verification fails. This option is also required if a HTTP URL is selected with '-u' option. --dryrun Print download commands only. -v Verbose output. EXAMPLES
# update-smart-drivedb /var/lib/smartmontools/drivedb/drivedb.h updated from branches/RELEASE_6_6_DRIVEDB EXIT STATUS
The exit status is 0 if the database has been successfully updated. If an error occurs the exit status is 1. FILES
/usr/sbin/update-smart-drivedb full path of this script. /usr/sbin/smartctl used to check syntax of new drive database. /var/lib/smartmontools/drivedb/drivedb.h current drive database. /var/lib/smartmontools/drivedb/drivedb.h.old previous drive database. /var/lib/smartmontools/drivedb/drivedb.h.error new drive database if rejected due to syntax errors. /var/lib/smartmontools/drivedb/drivedb.h.lastcheck empty file created if downloaded file was identical. AUTHORS
Christian Franke. This manual page was originally written by Hannes von Haugwitz <hannes@vonhaugwitz.com>. REPORTING BUGS
To submit a bug report, create a ticket in smartmontools wiki: <http://www.smartmontools.org/>. Alternatively send the info to the smartmontools support mailing list: <https://lists.sourceforge.net/lists/listinfo/smartmontools-support>. SEE ALSO
smartctl(8), smartd(8). PACKAGE VERSION
smartmontools-6.6 2016-05-31 r4324 $Id: update-smart-drivedb.8.in 4223 2016-02-26 20:18:40Z chrfranke $ smartmontools-6.6 2016-05-31 UPDATE-SMART-DRIVEDB(8)
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy