Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Trouble Synchronizing, no files uploaded

If you have a problem uploading the log file, please email it to me.

You will find my address (if you log in) in my forum profile.
Seth

Trouble Synchronizing, no files uploaded

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
exit

Connection works fine. The get 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.
Thanks.