Forum Stats

  • 3,784,351 Users
  • 2,254,928 Discussions
  • 7,880,790 Comments

Discussions

wget and edelivery behind a proxy?

GravyKing
GravyKing Member Posts: 237 Bronze Badge

Is it possible to use wget to download files on edelivery?  And if so does being behind a proxy server change that answer?

I am behind a proxy and am able to download regular patches on MOS via a wget script.

I have founds some posts discussing this topic (minus the proxy) and Steve S's response to this post summarizes the steps I took to export cookies.txt etc.

Solaris 10 Update 10?

I have substituted the link location to use \& instead of & in the link location as shown here (my real email is altered for the example).

# This is not working - edelivery downloads

$WGET --user-agent="Mozilla/5.0"  --load-cookies=$COOKIE_FILE --save-cookies=$COOKIE_FILE --keep-session-cookies "https://edelivery.oracle.com/EPD/Download/process_download/V35215-01_1of3.zip?file_id=64844077\&aru=15611521\&userid=849998\&egroup_aru_number=16809533\&[email protected]\&country_id=124\&patch_file=V35215-01_1of3.zip&[email protected]\&country_id=124\&patch_file=V35215-01_1of3.zip" -O $OUTPUT_DIR/V35215-01_1of3.zip  >> $LOGFILE 2>&1

It does seem to go through the motions but my file seems to be finished after only downloading 44k.

Tail end of log file:

Proxy request sent, awaiting response... 200 OK

Length: unspecified [text/html]

Saving to: `./V35215-01_1of3.zip'

     0K .......... .......... .......... .......... ...        1.62M=0.03s

2013-09-26 11:19:07 (1.62 MB/s) - `./V35215-01_1of3.zip' saved [44729]

Anyone been through this?

Message was edited by: user6445925 I'm going to close this call and create an SR.

This discussion has been closed.