Assistance with FTP from centos to W2K3 machine

Posted by RodPerez_GTA on 2012/2/21 0:49:38
Hello all,
I am new to this forum and this is my first post. I need some assistance on uploading a *.gz file via ftp to a W2K3 machine. Here are the info:

-Currently using CentOS 5.5 Final
-W2K3 machine set to allow anonymous log on via FTP

Here is the script

#!/bin/sh
#MySQL Backup Script
#Full Backup

### FTP server Setup ###
FTPD="some_directory"
FTPU="anonymous"
FTPP="some_email"
FTPS="some_IP"

# delete any existing backups
rm -f /some_location/db*.gz

#make a new backup file
mysqldump --user=some_username--password=some_password --all-databases | gzip > /some_location/db-`date +%Y-%m-%d`.gz

# local directory to pickup *.gz file
FILE="/some_location/"

# login to remote server
cd $FILE
ftp -n -i $FTPS <<EOF
user $FTPU $FTPP
cd $FTPD
mput *.gz
quit

EOF
######

I would get the following error:
'AUTH GSSAPI': command not understood
'AUTH KERBEROS_V4': command not understood
KERBEROS_V4 rejected as an authentication type

Here is the log from the W2K3 box:
USER anonymous 331 0
PASS some_email 230 0
CWD /some_location 250 0
created /some_location/db-2012-02-21.gz 226 0
QUIT - 226 0

Assistance with this issue would be greatly appreciated.

Thanks,
Rod P.

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=38&topic_id=35916&post_id=155419