On Windows 10 Version 10.0.17134 Build 17134 using winscp version 5.13.8 on the command line. I can't seem to get synchronize to work. Backing up files from a Centos (linux) server in another time zone. (I'm on Mountain Daylight, server is an hour earlier). Using SSH protocol. Here is script:
option batch on
option confirm off
open sftp://root:XXXXXXXXXX@XXXXXXXXX/ -hostkey="ssh-rsa 2048 MH8TG28sDI1uflPERU+d2kiNTy%2B0b/IXHdYa9EkGfww="
option transfer binary
synchronize local c:\Users\Seth\Documents\ServerBackups\Backups /home/vltchdmy
Connection works fine. The
command works fine. I am guessing that timestamp is somehow the issue. Log file shows zero files transferred. As I am new to WinSCP, I can't figure out how to troubleshoot or fix this problem. Everything I read seem incomplete to me. Some step by step help would be awesome. Happy to upload log file, but I am getting "tried to upload empty file" error.