unable to connect to windows server from DataStage Unix Ser
Posted: Wed Mar 07, 2012 10:17 am
Hi ,
Can someone suggest how to connect to windows server from DataStage Unix Server and transfer files.
Note: i don't want to use the ftp' stage
Windows server team placed the DataStage Unix Server PUB Key but when i ran the below script it is still asking the password, it not doing the auto logic
#!/usr/bin/ksh
cd /local/apps/OutputFiles/PSC/
ftp -nvi us1003000.corpnet1.com <<EOF
user RR_CDC_US
cd /Home/RD_USER/Inbound
ascii
mput *.txt
echo "Files Transfered Successfully"
bye
EOF
Can someone suggest how to connect to windows server from DataStage Unix Server and transfer files.
Note: i don't want to use the ftp' stage
Windows server team placed the DataStage Unix Server PUB Key but when i ran the below script it is still asking the password, it not doing the auto logic
#!/usr/bin/ksh
cd /local/apps/OutputFiles/PSC/
ftp -nvi us1003000.corpnet1.com <<EOF
user RR_CDC_US
cd /Home/RD_USER/Inbound
ascii
mput *.txt
echo "Files Transfered Successfully"
bye
EOF