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!

download oracle db with wget function oraclelinux

dc922c56-830a-4f22-9640-db66d9a9fb78Mar 2 2015 — edited Mar 3 2015

Hi,

I am trying to download the db to my oraclelinux that runs on oracle VM virtualbox with following command:

wget --no-cookies --auth-no-challenge --http-user="username" --http-passwd="mypassword" --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_1of2.zip"

but instead of a jusy 2 GB file i get small file with some simple webpage saying that LOGIN FAILED.

I have checked my username (my email i log into oracle webpage as well and mu password) couple of times and also tried to ommit the "" signs or spell password instead of passwd.

Will appreciate any help

Comments

4c3880db-960a-4cd4-9bc7-412ae46c86f2
Answer

looks like this strategy might get me there ... first need to know the number of bytes per row for the inBuffImg with ...

    int bytesPerRow = inBuffImg.getWidth()/8;

    if (inBuffImg.getWidth()%8>0)

        bytesPerRow+=1;

then i get bit and byte positions with

    int bytePos = y*bytesPerRow + x/8;

    int bitPos = x%8;

then i get the bit value

    pixels = ((DataBufferByte)inBuffImg.getRaster().getDataBuffer()).getData();

    return (pixels[bytePos] >> bitPos) & 1;

Marked as Answer by 4c3880db-960a-4cd4-9bc7-412ae46c86f2 · Sep 27 2020
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 31 2015
Added on Mar 2 2015
1 comment
6,926 views