Problem in FTP_Enterprise Stage

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
sekaran12
Participant
Posts: 20
Joined: Tue Sep 26, 2006 7:08 am
Location: Chennai

Problem in FTP_Enterprise Stage

Post by sekaran12 »

Hi,

My requirement is ftp file from one server to another server.

Example:

Server 1: File1

I need to FTP file1 to server2.

In the FTP stage i mentioned below things

URI=ftp://hostname/

ftp Command = put path/srcfilename targetfilename
Password = *******
username= abc

I got below Error:

FTP_Enterprise_106: uri is having invalid syntax. uri : ftp://hostname

Please rectify the issue.

Thanks,
Raj
Raj
basu.ds
Participant
Posts: 118
Joined: Tue Feb 06, 2007 12:59 am
Location: Bangalore

Post by basu.ds »

try using uri as your server ip
sekaran12
Participant
Posts: 20
Joined: Tue Sep 26, 2006 7:08 am
Location: Chennai

Post by sekaran12 »

basu.ds wrote:try using uri as your server ip
File is present in my server1, i need to ftp this file to server2.
so i used uri=ftp://server2.
Raj
Post Reply