Originally Posted by catkin
So let's look for what's different. Please connect from the command prompt again and run the script again and copy and paste what you see into this thread, removing confidential data. That way we can see exactly what you see.
Which shell are you using at the command prompt? How did you create the script -- was it a Windows editor?
What happens if you run the script by sh yourscript.sh?
[test@testserver]$ ftp XX.XX.XXX.com
Connected to XX-XX-proxy2.XX.XXX.XXX.
220 Microsoft FTP Service
500 'AUTH GSSAPI': command not understood
500 'AUTH KERBEROS_V4': command not understood
KERBEROS_V4 rejected as an authentication type
Name (XX.XX.XXX.com:test): myuser
331 Password required for myuser.
230-Welcome to XX.XX.XXX.com FTP
230 User myuser logged in.
Remote system type is Windows_NT.
this is the output i get.
its bin/bash. i had created the script thru windows text editor but i used dos2unix command before i ran this script.
Thanx a lot for the reply