shell script to ftp csv files from cognos to DS server

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
rajeevm
Participant
Posts: 135
Joined: Sun Jan 22, 2006 10:44 am

shell script to ftp csv files from cognos to DS server

Post by rajeevm »

Hi ,

I need help in writing the shell script to ftp .csv files from cognos server to Datastage server . Which command do I need to use . I appreciate your help

Thanks

Rajeev
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Different flavours of UNIX require slightly different coding. I would suggest you go to Google and search for "shell script ftp {your unix}" to get samples on how to do this.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sounds like you should use ftp, but you should double-check that it shouldn't be a secure transfer instead. And there are a crap ton of examples out there on how to do any of that - try googling for 'ftp here document' or 'ftp script' to get started.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

Yes as craig said there are tons of examples in web. Just try out one of them and you would surely get through

Regards
Sreeni
Post Reply