Re: windows to windows sync
Please post a log file using the GUI with the same version of WinSCP.
option batch off
option confirm off
# Connect - format: user:password@host
open myusername:mysecretpassword@www.myproductionserver.something
synchronize remote -delete -mirror -nopermissions "S:\webs\staging.myserver.something\htdocs\mysubfolder" "/D:/web/roots/proweb19/wwwroot/asubfolder/mysubfolder"
# Disconnect
close
# Exit WinSCP
exit