FTP Stage issue

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
snt_ds
Premium Member
Premium Member
Posts: 280
Joined: Wed Oct 18, 2006 11:53 am
Location: Pune, India

FTP Stage issue

Post by snt_ds »

Hi All,

I am getting the issue with FTP stage. My job design is like specified below.


Approach 1:

FTP Stage------>Sequential File
FTP_Enterprise_0: uri : ftp://HOST/PATH/filename.txt is not valid remote file.

But i have a file in the above specified remote path.

Approach 2:

Sequential File------> FTP Stage

FTP_Enterprise_0: uri : ftp://HOSTADDRESS/PATH/filename.txt is having following ftp errors
FTP_Enterprise_0: Not connected.

It would be great if you can suggest me the parameters if anything specified wrongly.



Thanks & in Adavance
Vijay
snt_ds
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Out of curiousity, which way are you trying to go? Method 1 is a basically a 'get' and Method 2 is a 'put'... or are you just trying to illustrate that neither way works? Can you manually perform these same actions from the command line of the DataStage server to/from this remote server?
-craig

"You can never have too many knives" -- Logan Nine Fingers
mkiru23
Premium Member
Premium Member
Posts: 33
Joined: Thu Nov 20, 2003 4:33 pm
Location: SFL

Post by mkiru23 »

"
FTP Stage------>Sequential File
FTP_Enterprise_0: uri : ftp://HOST/PATH/filename.txt is not valid remote file.

But i have a file in the above specified remote path. "


It depends on relative or absolute path, if the user name is abc and the path will find the filename

try to navigate to that file, if it works command line, it should work
ftp://HOST/../../PATH/filename.txt
Pagadrai
Participant
Posts: 111
Joined: Fri Dec 31, 2004 1:16 am
Location: Chennai

Re: FTP Stage issue

Post by Pagadrai »

Hi Vijay,
Got this problem resolved ?

I see that the problem could be with your host address.
It should be your server name and dont add any 'ftp' before the name.

try and let us know.
Post Reply