Have the “Oracle Software Delivery Cloud” wget.sh authentication actually work

Downloading from https://edelivery.oracle.com/osdc/faces/SoftwareDelivery offers the option to catch a wget-oriented download script for server side console use.

The script manages the follow up authentication of the server session against Oracle using a re-logon and a cookie file. Nothing fancy, just the web on the console and that much efficient.

Now the funny thing: due to some output channel directives in the script, entering the re-logon credentials will get stuck after the username <enter> input.

The problem is, that the password prompt, although only stderr is redirected, will not find its way to the console but will end up in the download log file :-))

So I recommend to remove this wget call output redirection at all. On top of that, I also opt to remove any wget call output redirections in the file, so you can follow the download progress on the console and log file will stay readable.

Have fun.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.