Thanks @Martin – I have test and got it working :)
- Nilks
"synchronize local C:\ /" "exit"
"synchronize local ""C:\path with spaces"" ""/path with spaces""" "exit"
"synchronize local" "/" "C:\" "exit"
PARAM.txt
(where you write your command synchronize
)?
"synchronize local" "/" "C:\" "exit"
syswow64
folder on local machine. But I haven't told it to do that.
SYSWOW64
.
synchronize local "/" "c:\YOUR_DIRECTORY\" -delete -transfer=binary.
synchronize
:
/
) to LOCAL (user\.....
) This would run every day in the morning hence using Task Scheduler.
C:\......\WinSCP.exe /ini=nul /script="C:\PARAM.txt" /log=C:\LOG\Winscp.log"
PARAM.txt
is where I have the command line for tell to WinSCP what to do. For example:
synchronize remote "C:\TEST\" "/Remote/TEST" -delete -transfer=binary -criteria=size
Windows\system32
to remote side.
... "synchronize local ""C:\users..."" ..."
synchronize
command. I want to copy all files from root of a remote server to local c:\folder
but when I run the command through task scheduler it is trying to send c:\windows\system32
to the remote server.
/
as the root after synchronize local
command.