OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » OpenSolaris » help

Thread: HOWTO: Download an .iso File from the Command Line?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 11 - Last Post: Apr 23, 2008 9:02 AM by: bandy
thinkope

Posts: 113
From: US

Registered: 7/19/07
HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:12 PM
To: OpenSolaris » help
  Click to reply to this thread Reply

Forigve my Solaris ignorance, but I'm not sure what the equivalent of wget is on Solaris. Could someone please post an example of how to download a file from the command-line in Solaris?

bandy

Posts: 353
From: RO

Registered: 2/16/07
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:15 PM   in response to: thinkope

  Click to reply to this thread Reply

it's /usr/sfw/bin/wget

On Wed, Apr 23, 2008 at 12:12 AM, Aaron Epps <epps dot aaron at mayo dot edu> wrote:
> Forigve my Solaris ignorance, but I'm not sure what the equivalent of wget is on Solaris. Could someone please post an example of how to download a file from the command-line in Solaris?
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris dot org
>



--
Andy
http://blog.sartek.net
_______________________________________________
opensolaris-help mailing list
opensolaris-help at opensolaris dot org


glagasse

Posts: 808
From: US

Registered: 3/9/05
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:16 PM   in response to: thinkope

  Click to reply to this thread Reply

* Aaron Epps (epps dot aaron at mayo dot edu) wrote:
> Forigve my Solaris ignorance, but I'm not sure what the equivalent of
> wget is on Solaris. Could someone please post an example of how to
> download a file from the command-line in Solaris?

Why not use wget? It's generally located at /usr/sfw/bin/wget on most
modern releases (S10 and greater).

Cheers,

Glenn
_______________________________________________
opensolaris-help mailing list
opensolaris-help at opensolaris dot org


thinkope

Posts: 113
From: US

Registered: 7/19/07
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:38 PM   in response to: glagasse
To: OpenSolaris » help
  Click to reply to this thread Reply

OK, that leads to another question. If I want to locate a binary on a Solaris box, say wget, what command is preferred to search for it's location?

thinkope

Posts: 113
From: US

Registered: 7/19/07
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:45 PM   in response to: thinkope
To: OpenSolaris » help
  Click to reply to this thread Reply

Here's what happens when I try to download b87 via the link on Sun's site... any ideas what I'm doing wrong here?


-bash-3.2$ /usr/sfw/bin/wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/VerifyItem-Start/sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU&OrderID=CsdIBe.o_1oAAAEZqy9HAXgU&ProductID=ACpIBe.nW00AAAEZghslHlQI&FileName=/sol-nv-b87-x86-dvd.iso
[1] 1411
[2] 1412
[3] 1413
[2] Done OrderID=CsdIBe.o_1oAAAEZqy9HAXgU
[3] Done ProductID=ACpIBe.nW00AAAEZghslHlQI
-bash-3.2$ --16:45:51-- http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/VerifyItem-Start/sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU
=> `sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU'
Resolving cds.sun.com... 72.5.239.134
Connecting to cds.sun.com|72.5.239.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19,495 (19K) [text/html]

100%[====================================>] 19,495 66.48K/s

16:45:53 (66.33 KB/s) - `sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU' saved [19495/19495]


[1]+ Done /usr/sfw/bin/wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/VerifyItem-Start/sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU
-bash-3.2$

bandy

Posts: 353
From: RO

Registered: 2/16/07
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:48 PM   in response to: thinkope

  Click to reply to this thread Reply

put the url in quotes " "

On Wed, Apr 23, 2008 at 12:45 AM, Aaron Epps <epps dot aaron at mayo dot edu> wrote:
> Here's what happens when I try to download b87 via the link on Sun's site... any ideas what I'm doing wrong here?
>
>
> -bash-3.2$ /usr/sfw/bin/wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/VerifyItem-Start/sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU&OrderID=CsdIBe.o_1oAAAEZqy9HAXgU&ProductID=ACpIBe.nW00AAAEZghslHlQI&FileName=/sol-nv-b87-x86-dvd.iso
> [1] 1411
> [2] 1412
> [3] 1413
> [2] Done OrderID=CsdIBe.o_1oAAAEZqy9HAXgU
> [3] Done ProductID=ACpIBe.nW00AAAEZghslHlQI
> -bash-3.2$ --16:45:51-- http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/VerifyItem-Start/sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU
> => `sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU'
> Resolving cds.sun.com... 72.5.239.134
> Connecting to cds.sun.com|72.5.239.134|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 19,495 (19K) [text/html]
>
> 100%[====================================>] 19,495 66.48K/s
>
> 16:45:53 (66.33 KB/s) - `sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU' saved [19495/19495]
>
>
> [1]+ Done /usr/sfw/bin/wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/VerifyItem-Start/sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU
> -bash-3.2$
>
>
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris dot org
>



--
Andy
http://blog.sartek.net
_______________________________________________
opensolaris-help mailing list
opensolaris-help at opensolaris dot org


bandy

Posts: 353
From: RO

Registered: 2/16/07
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:50 PM   in response to: bandy

  Click to reply to this thread Reply

and put a: -O sol-nv-b87-x86-dvd.iso
because it will complain about the filename is too long iirc

On Wed, Apr 23, 2008 at 12:48 AM, Andras Barna <andras dot barna at gmail dot com> wrote:
> put the url in quotes " "
>
>
>
> On Wed, Apr 23, 2008 at 12:45 AM, Aaron Epps <epps dot aaron at mayo dot edu> wrote:
> > Here's what happens when I try to download b87 via the link on Sun's site... any ideas what I'm doing wrong here?
> >
> >
> > -bash-3.2$ /usr/sfw/bin/wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/VerifyItem-Start/sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU&OrderID=CsdIBe.o_1oAAAEZqy9HAXgU&ProductID=ACpIBe.nW00AAAEZghslHlQI&FileName=/sol-nv-b87-x86-dvd.iso
> > [1] 1411
> > [2] 1412
> > [3] 1413
> > [2] Done OrderID=CsdIBe.o_1oAAAEZqy9HAXgU
> > [3] Done ProductID=ACpIBe.nW00AAAEZghslHlQI
> > -bash-3.2$ --16:45:51-- http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/VerifyItem-Start/sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU
> > => `sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU'
> > Resolving cds.sun.com... 72.5.239.134
> > Connecting to cds.sun.com|72.5.239.134|:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 19,495 (19K) [text/html]
> >
> > 100%[====================================>] 19,495 66.48K/s
> >
> > 16:45:53 (66.33 KB/s) - `sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU' saved [19495/19495]
> >
> >
> > [1]+ Done /usr/sfw/bin/wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/VerifyItem-Start/sol-nv-b87-x86-dvd.iso?BundledLineItemUUID=PhdIBe.oqU0AAAEZui9HAXgU
> > -bash-3.2$
> >
> >
> >
> >
> > This message posted from opensolaris.org
> > _______________________________________________
> > opensolaris-help mailing list
> > opensolaris-help at opensolaris dot org
> >
>
>
>
>
>
> --
> Andy
> http://blog.sartek.net
>



--
Andy
http://blog.sartek.net
_______________________________________________
opensolaris-help mailing list
opensolaris-help at opensolaris dot org


ian

Posts: 1,710
From: NZ

Registered: 4/27/05
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:49 PM   in response to: thinkope

  Click to reply to this thread Reply

Aaron Epps wrote:
> Here's what happens when I try to download b87 via the link on Sun's site... any ideas what I'm doing wrong here?
>
>
>
Trying to use wget to download the SXCE ISO, you can't!

Ian

_______________________________________________
opensolaris-help mailing list
opensolaris-help at opensolaris dot org


bandy

Posts: 353
From: RO

Registered: 2/16/07
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:57 PM   in response to: ian

  Click to reply to this thread Reply

false!
http://farm3.static.flickr.com/2245/2434372763_6057895851_o.png

On Wed, Apr 23, 2008 at 12:49 AM, Ian Collins <ian at ianshome dot com> wrote:
> Aaron Epps wrote:
> > Here's what happens when I try to download b87 via the link on Sun's site... any ideas what I'm doing wrong here?
> >
> >
> >
> Trying to use wget to download the SXCE ISO, you can't!
>
> Ian
>
>
>
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris dot org
>



--
Andy
http://blog.sartek.net
_______________________________________________
opensolaris-help mailing list
opensolaris-help at opensolaris dot org


thinkope

Posts: 113
From: US

Registered: 7/19/07
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 23, 2008 8:27 AM   in response to: bandy
To: OpenSolaris » help
  Click to reply to this thread Reply

Can you post the URL that you used so I can just copy & paste it? Also, what the format is of the AuthParam so I can enter my own username & password to access the .iso?

bandy

Posts: 353
From: RO

Registered: 2/16/07
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 23, 2008 9:02 AM   in response to: thinkope

  Click to reply to this thread Reply

start the download with eg firefox and copy from the "download manager" the url

On Wed, Apr 23, 2008 at 6:27 PM, Aaron Epps <epps dot aaron at mayo dot edu> wrote:
> Can you post the URL that you used so I can just copy & paste it? Also, what the format is of the AuthParam so I can enter my own username & password to access the .iso?
>
>
>
> This message posted from opensolaris.org
> _______________________________________________
>
>
> opensolaris-help mailing list
> opensolaris-help at opensolaris dot org
>



--
Andy
http://blog.sartek.net
_______________________________________________
opensolaris-help mailing list
opensolaris-help at opensolaris dot org


rich

Posts: 1,091
From: CA

Registered: 4/27/05
Re: [osol-help] HOWTO: Download an .iso File from the Command Line?
Posted: Apr 22, 2008 2:46 PM   in response to: thinkope

  Click to reply to this thread Reply

On Tue, 22 Apr 2008, Aaron Epps wrote:

> OK, that leads to another question. If I want to locate a binary on a
> Solaris box, say wget, what command is preferred to search for it's
> location?

"type" or "which" are the commands you're after, but they'll only
find commands in your current path. Man is also your friend, as
is catman.

--
Rich Teer, SCSA, SCNA, SCSECA

CEO,
My Online Home Inventory

URLs: http://www.rite-group.com/rich
http://www.linkedin.com/in/richteer
http://www.myonlinehomeinventory.com
_______________________________________________
opensolaris-help mailing list
opensolaris-help at opensolaris dot org





Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
Copyright © 1995-2005 Sun Microsystems, Inc.