Skip to content

Commit ff0d1b7

Browse files
committed
Fixed FTP backups are creating empty zip files hestiacp#515
Changed the ftp backup from active to passive mode in bin/v-backup-user
1 parent 97b9673 commit ff0d1b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-backup-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ local_backup(){
518518

519519
# Defining ftp command function
520520
ftpc() {
521-
/usr/bin/ftp -n $HOST $PORT <<EOF
521+
/usr/bin/ftp -np $HOST $PORT <<EOF
522522
quote USER $USERNAME
523523
quote PASS $PASSWORD
524524
binary

0 commit comments

Comments
 (0)