# Trying Oracle database download to windows server 2012

**URL:** <https://forum.ansible.com/t/trying-oracle-database-download-to-windows-server-2012/28581>\
**Category:** Ansible Project\
**Tags:** windows, ansible-project\
**Created:** [September 16, 2018, 2:59pm UTC](https://forum.ansible.com/t/trying-oracle-database-download-to-windows-server-2012/28581 "2018-09-16T14:59:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Isha\_G](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@Isha\_G](https://forum.ansible.com/u/Isha_G)\
**Post date:** [September 16, 2018, 2:59pm UTC](https://forum.ansible.com/t/trying-oracle-database-download-to-windows-server-2012/28581/1 "2018-09-16T14:59:48Z")

</div>

Hello Jonathan,  
Thanks for the quick response. I am actually trying two things here:

1. Download Oracle 12c DB on a Windows Server 2012 and I have tried it with firewall on and off but still I get the broken File.
2. For now I have manually copied these files and with setup.exe and silent installation command I am trying this as per the setup.exe -silent switch as per provided by the oracle website but it failing with error code 259.

**Here are my tasks:**

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [September 16, 2018, 4:47pm UTC](https://forum.ansible.com/t/trying-oracle-database-download-to-windows-server-2012/28581/2 "2018-09-16T16:47:45Z")

</div>

Hi, You should download first the zip file somewhere on your network and download from it… If you insist on downloading from Oracle site each time, be careful that Oracle want you to accept the EULA, so direct download is not allowed, so you need to do tricks with cookie, authentication, etc… and this can change from time to time For example for Java (not tried) : Regards, JYL

---

<div class="post-metadata">

**Author:** ![Isha\_G](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@Isha\_G](https://forum.ansible.com/u/Isha_G)\
**Post date:** [September 17, 2018, 2:50am UTC](https://forum.ansible.com/t/trying-oracle-database-download-to-windows-server-2012/28581/3 "2018-09-17T02:50:09Z")

</div>

The file size is 3 GB so I will not be able to copy using win\_copy or even if I do it’s going to take long time as per the bandwidth.

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [September 17, 2018, 8:37pm UTC](https://forum.ansible.com/t/trying-oracle-database-download-to-windows-server-2012/28581/4 "2018-09-17T20:37:42Z")

</div>

You can store the download on your own web server and use win\_get\_url from there. The trouble isn’t that Ansible is failing but that Oracle is hiding the actual download behind a license agreement. I’ve had success with adding the cookie value to the win\_get\_url header so Oracle presents you the actual installer rather than just a web page.

Thanks

Jordan

---

<div class="post-metadata">

**Author:** ![Isha\_G](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@Isha\_G](https://forum.ansible.com/u/Isha_G)\
**Post date:** [September 18, 2018, 6:25am UTC](https://forum.ansible.com/t/trying-oracle-database-download-to-windows-server-2012/28581/5 "2018-09-18T06:25:28Z")

</div>

Can you please paste the task that you used?
