/DIR -> /A -> /B -> /C
Cfrom being synchronized.
I also have some files in
/DIRthat I also would like to be excluded from being synchronized. Just files in
/C/. I don't want to accidentally delete files or folders on either local or remote.
I don't get the .bat-file to start. Can anyone please check what I'm doing wrong? It doesn't post to the log file.
"open ftp://USER:PASSWORD@IP:PORT/ -passive=0" ^ "cd /DIR/A/" ^ "lcd C:\A\ ^ "synchronize remote -delete -nopermissions -transfer=binary -filemask="|*/" * ^ "exit" set WINSCP_RESULT=%ERRORLEVEL% if %WINSCP_RESULT% equ 0 ( echo Success ) else ( echo Error ) exit /b %WINSCP_RESULT%