Download zip file from http link

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
cassi_bsb
Participant
Posts: 11
Joined: Thu Oct 25, 2007 12:33 pm

Download zip file from http link

Post 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
Cassiano Fontoura
SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

Post by SURA »

Code: Select all

wget -O file.tar "http://link"
You can try this.
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
cassi_bsb
Participant
Posts: 11
Joined: Thu Oct 25, 2007 12:33 pm

Post 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
Cassiano Fontoura
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Was talking about the wget utility, not your zip file.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply