mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
absolute ftp path to avoid kerberos issues
This commit is contained in:
parent
0e8897648c
commit
fd902a9066
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue