FTPing a file to LAN

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
bobby28
Participant
Posts: 17
Joined: Mon Jan 17, 2005 9:56 am

FTPing a file to LAN

Post by bobby28 »

Hello:

I am creating a file on Unix box and want to know how can I setup the DataStage job to FTP the file to LAN.

Looks like FTP stage only supports FTP to a specified server only. Can you please help me with this.

Thanks
Bobby
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

If you're just moving a file around don't use the FTP stage use command line FTP or SCP. That being said, a LAN is a physical server. You need the IP address of that server and a valid userid with credentials.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
bobby28
Participant
Posts: 17
Joined: Mon Jan 17, 2005 9:56 am

FTPing a file to LAN

Post by bobby28 »

Thanks for your reply. Since I need to send the file from Unix to NT location, do I need some kind of FTP listner service running on NT side?

Please advise.

kcbland wrote:If you're just moving a file around don't use the FTP stage use command line FTP or SCP. That being said, a LAN is a physical server. You need the IP address of that server and a valid userid with credentials.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Depends on your security requirements, some places use SFTP instead. Just try it, get the IP and give it a try.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
bobby28
Participant
Posts: 17
Joined: Mon Jan 17, 2005 9:56 am

Post by bobby28 »

kcbland wrote:Depends on your security requirements, some places use SFTP instead. Just try it, get the IP and give it a try.
I tried both FTP and SFTP and get the following error: "A remote host refused an attempted connect operation"
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Sounds like the FTP ports are locked, you're going to have to talk to your network/NT administrator
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
bobby28
Participant
Posts: 17
Joined: Mon Jan 17, 2005 9:56 am

Post by bobby28 »

kcbland wrote:Sounds like the FTP ports are locked, you're going to have to talk to your network/NT administrator ...
Thank you Kenneth, I will talk to them and let you know about the results :)
Post Reply