Hi,
The FTP script that i'm using to FTP a file from a UNIX server to a remote system of type VMS throws me the following error
FTP_CHECK1..JobControl (@Execute_Command_1): Executed: sh TEST/scripts/FTPScript.sh
Reply=0
Output from command ====>
I never heard of the AUTH command. Try HELP.
I never heard of the AUTH command. Try HELP.
KERBEROS_V4 rejected as an authentication type
local: check.txt: No such file or directory
%%RMS-E-FNF, file not found
FTP of check.txt is incomplete
the script that im using is
#!/bin/sh
HOST='host1'
USER='whoever'
PASSWD='watever'
FTPPATH=temp/test
ifile='check.txt'
#FTP concatenated file
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
binary
cd $FTPPATH
put $ifile
get $ifile retrieval.$$
quit
END_SCRIPT
if [ -f retrieval.$$ ]
then
echo "FTP of $ifile is complete"
rm -f retrieval.$$
else
echo "FTP of $ifile is incomplete"
fi
exit 0
the above script is able to connect to the remote server but is not able to locate the file in the local.the source is a UNIX server with SFTP. when i run the script from putty im able FTP the file to the desired location but when i run it from DS execute command stage in sequencer job, i get the above error.
KERBEROS error in FTP script
Moderators: chulett, rschirm, roy
For me, this *was* "regular ftp" the script was running, but it apparently had KERBEROS compiled in as an option. There was nothing for me to switch back to as far as I know... unless it is another of those things that unalias would fix! ![Wink :wink:](./images/smilies/icon_wink.gif)
![Wink :wink:](./images/smilies/icon_wink.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: