System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

download files from the sh script

 
Piotr Kirklewski
Super Advisor

download files from the sh script

Hi there
I have a small but annoying problem.
I'm dooing this from a script:

wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/j2re-1_4_2_02-linux-i586.bin/\?BundledLineItemUUID=zISJ_hCwP5wAAAEtz1QAHtK5/\&OrderID=XDWJ_hCwlnAAAAEttVQAHtK5/\&ProductID=3lfACUFBngUAAAEYXuQ5AXiy/\&FileName=/j2re-1_4_2_02-linux-i586.bin


The file gets downloaded but wget just sits there forever waiting for who knows what.
Normally I can hit return but not from the script.
The script just stops and waits and next command never being processed.

Anyone knows how to sort that out ?

Regards

Peter
Jesus is the King
3 REPLIES
Steven Schweda
Honored Contributor

Re: download files from the sh script

> wget [...]

wget --version

> [...] sits there forever [...]

You waited forever?

> [...] who knows what.

wget --debug [...]
Piotr Kirklewski
Super Advisor

Re: download files from the sh script

wget -t 60 http://... Does the job.
Jesus is the King
Piotr Kirklewski
Super Advisor

Re: download files from the sh script

DOne
Jesus is the King