Page 1 of 1

FTP Stage issue

Posted: Sun Feb 15, 2009 2:27 am
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

Posted: Sun Feb 15, 2009 9:14 am
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?

Posted: Mon Feb 16, 2009 12:47 pm
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

Re: FTP Stage issue

Posted: Mon Mar 30, 2009 4:15 am
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.