problem with ftp script...please help

Hi,

I'm writing an ftp script that is trying to connect to a remote NT box. Here is my script:

ftp -i ipaddress
user username password
ascii
cd db_Backup
lcd /home/dB_backups
put *.sql
bye

When I run this script I get the following error:

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

My script then ends after it gets this error. It won't go ahead and read the user and password. What am I doing wrong? How do I get the script to continue regardless of the initial connection error?

Any help is greatly appreciated.

VJ

I see such messages for the first time but I suppose that your ftp client try to authenticate via CERBEROS [or NT server ???]

btw: Your script is correct ? I think that such script cannot work. Is this unix shell script ?

figured it out. Checked out a couple of sites and the following adjustment now allows my script to work:

ftp -vin ipaddress <<!
user username password
ascii
cd db_backup
lcd /home/backup
put bkup*.sql
bye