I've this directory locally that I'ld like to synchronize with a remote server.(I want my remote server to look like the local dir)
I would like to exclude subdirectories within A, B C from being synchronized.
I also have some files in /DIR that I also would like to be excluded from being synchronized. Just files in /A/, /B/ and /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="|*/" * ^
if %WINSCP_RESULT% equ 0 (
) else (
exit /b %WINSCP_RESULT%
Thanks in advance!