X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=conf%2Fconfig.pl;h=de759d69b67bf64e1d270a76ddd44bbcc7684643;hp=440f597a62aa3f94a84a7bf9077ad7ae0ecb185e;hb=4bebd36661ae62a8bae93097d00a8e43247a5064;hpb=9cf3998c4ef71332dea96ff3115daf8b9f722acb diff --git a/conf/config.pl b/conf/config.pl index 440f597..de759d6 100644 --- a/conf/config.pl +++ b/conf/config.pl @@ -1436,6 +1436,16 @@ $Conf{FtpUserName} = ''; # $Conf{FtpPasswd} = ''; +# +# Whether passive mode is used. The correct setting depends upon +# whether local or remote ports are accessible from the other machine, +# which is affected by any firewall or routers between the FTP server +# on the client and the BackupPC server. +# +# This setting is used only if $Conf{XferMethod} = 'ftp'. +# +$Conf{FtpPassive} = 1; + # # Transfer block size. This sets the size of the amounts of data in # each frame. While undefined, this value takes the default value. @@ -1468,13 +1478,6 @@ $Conf{FtpTimeout} = 120; # $Conf{FtpFollowSymlinks} = 0; -# -# Direct restore enabling for FTP. -# -# Currently set to 0 since restore functionality is incomplete. -# -$Conf{FtpRestoreEnabled} = 0; - ########################################################################### # Archive Configuration # (can be overwritten in the per-PC log file)