absolute ftp path to avoid kerberos issues

This commit is contained in:
Serghey Rodin 2013-10-09 10:42:20 +03:00
commit fd902a9066
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ source $VESTA/conf/vesta.conf
# Defining ftp command function # Defining ftp command function
ftpc() { ftpc() {
ftp -n $host $ftp_port <<EOF /usr/bin/ftp -n $host $ftp_port <<EOF
quote USER $ftp_user quote USER $ftp_user
quote PASS $ftp_password quote PASS $ftp_password
binary binary

View file

@ -509,7 +509,7 @@ local_backup(){
# Defining ftp command function # Defining ftp command function
ftpc() { ftpc() {
ftp -n $HOST $PORT <<EOF /usr/bin/ftp -n $HOST $PORT <<EOF
quote USER $USERNAME quote USER $USERNAME
quote PASS $PASSWORD quote PASS $PASSWORD
binary binary