@echo off
set DIR=F:\htdocs\
set BACK_DIR=F:\backup\site\
echo 需要备份的目录:%DIR%
echo 清空备份文件夹:%BACK_DIR%
del /s /Q %BACK_DIR%
for /d %%i in (%DIR%*) do (
rem echo %%i
echo 开始备份: %%~nxi
start D:\"Program Files (x86)"\WinRAR\WinRAR.exe a -k -r -s -m1 -ag{%%~nxi}-YYYYMMDDHHII-{bak} %BACK_D
SSL traffic will not get any help from the firewall filter for FTP. As a matter of fact it will (most likely) prevent SSL from working. So we have to look for other options on how to enable it.
The easiest way to configure Windows Firewall to allow FTPS traffic is to put the NT service for FTP