mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
Fixed bind: Address already in use problem when use ftp command
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
e2a40043df
commit
112ad3baf2
@ -241,7 +241,7 @@ ftp_upload() {
|
|||||||
|
|
||||||
local FTP_OUT_FILE=$(basename ${OUT_FILE})
|
local FTP_OUT_FILE=$(basename ${OUT_FILE})
|
||||||
log "Tranferring backup file to FTP server"
|
log "Tranferring backup file to FTP server"
|
||||||
ftp -in ${FTP_HOST} 2>&1 >> ${LOGFILE} <<EOF
|
ftp -inp ${FTP_HOST} 2>&1 >> ${LOGFILE} <<EOF
|
||||||
user $FTP_USER $FTP_PASS
|
user $FTP_USER $FTP_PASS
|
||||||
binary
|
binary
|
||||||
lcd $LOCALDIR
|
lcd $LOCALDIR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user