Page 1 of 1

Download zip file from http link

Posted: Mon Sep 05, 2016 2:07 pm
by cassi_bsb
Hi all,

Is there any way to download a file from http link to a local server?

I need to download a zip file to DataStage server, unzip it then load into staging area. This zip file is updated every week, but keep the same name.

Thanks

Cassiano

Posted: Mon Sep 05, 2016 8:58 pm
by SURA

Code: Select all

wget -O file.tar "http://link"
You can try this.

Posted: Mon Sep 05, 2016 10:52 pm
by chulett
Just as an FYI, where I'm working, software that isn't on our tested and approved list doesn't come anywhere near our servers.

Posted: Tue Sep 06, 2016 1:10 pm
by cassi_bsb
SURA wrote:

Code: Select all

wget -O file.tar "http://link"
You can try this.
Due to network restrictions, it can't reach the target.

I will see if network admin can open this route in firewall.

Thanks

Posted: Tue Sep 06, 2016 2:00 pm
by chulett
Was talking about the wget utility, not your zip file.