Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

wget and edelivery behind a proxy?

GravyKingSep 26 2013

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=myname@oracle.com\&country_id=124\&patch_file=V35215-01_1of3.zip&email=myname@oracle.com\&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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2013
Added on Sep 26 2013
0 comments
1,712 views