FTP: Unable to execute Telnet command 'Telnet Before Command

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
ysweec
Participant
Posts: 31
Joined: Thu Jun 17, 2004 9:01 pm

FTP: Unable to execute Telnet command 'Telnet Before Command

Post by ysweec »

I tried to implement the following command in FTP stage's
'Telnet Before Command' and 'Telnet After Command'
cp /home/oracle/maxis/abc.txt /home/oracle/maxis/efg.txt

But, neither of them worked.

Telnet Before Command :-
TestFTPStage..FTP: Unable to execute Telnet command 'Telnet Before Command'

Telnet After Command :-
TestFTPStage..FTP: 'RECV' call failed, error number = [10035]
TestFTPStage..FTP: unable to get response from the FTP server after sending the command QUIT
TestFTPStage..FTP: unable to execute Telnet command 'Telnet After Command'

How to solve this problem?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Couple of things...

Did you verify that you have the telnet prompts properly configured so that it knows how many there are and the keyword in the stage will be matched? If that area isn't setup properly then you'll never get to the actual execution of the command part.

Try turning on tracing for the stage to get more information about what it going on. If you're not sure what it needs, with your cursor in the field click on Property Help - it will explain the different values. Add them up to set multiple trace options. For example, to see options 1 and 2, set trace to 3.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply