I'm trying to sync directories via script using WinSCP 5.7.1 and SCP protocol between a Win7 SP1 local and a VMware vSphere host remote (running some variant of Linux - BusyBox v1.20.2??? See logs). I started with either local or remote dir empty to force the first sync to copy all, but then immediately repeat the synchronize call, and then make the reverse synchronize call (if first was sync local, then do sync remote). In all cases after the first sync copies all (as expected), sync local ALWAYS copies all AGAIN, and sync remote says "nothing to synchronize", although from the logs it thinks the remote files are more recent). It appears that the remote directory listings are in GMT and local listings are in local (CST) time, and this is causing the problem.
Is there a way I can tell it what time offset to use to compensate?
Also note that the remote "--full-time" parameter for the ls command does not appear to be supported by BusyBox v1.20.2, but it still gets (what I think are) valid results.
Reply with quote