FTP Logon error

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
mydsworld
Participant
Posts: 321
Joined: Thu Sep 07, 2006 3:55 am

FTP Logon error

Post by mydsworld »

I am trying to FTP (Get) from script in Execute Command stage. From FTP stage it works fine.With script I get following error :

'AUTH GSSAPI': command not understood
'AUTH KERBEROS_V4': command not understood
KERBEROS_V4 rejected as an authentication type

My DataStage server is on Linux box and am trying to FTP an Windows shared drive.

Please advise.
mydsworld
Participant
Posts: 321
Joined: Thu Sep 07, 2006 3:55 am

Post by mydsworld »

I tried the following in the script TestFTP.sh:

#!/bin/sh
ftp -i -n <<EOF
open <Host>
user user1 pass1
lcd /dev/my_dir/
get "Data Rates.csv"
quit
EOF

In execute command, I tried

sh TestFTP.sh
Post Reply