I'm fairly new to this scripting, I'm trying to synchronize from a remote root director(ip address) to a local root directory. I have masked the Ip address as this a public forum, otherwise, the rest of the script is exactly has I have it written.
open sftp://username:email@example.com/ -hostkey=""ssh-rsa 1024 e4:dd:11:2e:82:34:ab:62:59:1c:c8:62:1d:4b:48:99"""
"synchronize local Z:\ /" "exit"
Here is my batch file:
winscp.exe /console /script=backup.txt
Can you please tell me why it's not synchronizing to my local drive.
Thank you in advance for your help.