Topic "SynchronizationCriteria.Either Nothing to synchronize ?"

Author Message
[View user's profile]

Joined: 2017-10-21
Posts: 1
I'm trying to sync a local folder to NAS. problem, upload failed because of loss of network connectivity, the file was not sent completely, when I try to sync again, it does not update the file.

it is true that the file in the NAS is with a more recent date, but as the size is different it should upload the file

synchronizationResult =
SynchronizationMode.Remote, @"d:\12ch",

"/DESENVOLVIMENTO/Teste", false,false,SynchronizationCriteria.Either);

type=cdir;sizd=4096;modify=20171020180125;UNIX.mode=0777;UNIX.uid=1001;UNIX.gid=1000;unique=901g16846ee; .
. 2017-10-21 15:53:37.263 type=dir;sizd=29;modify=20171017175125;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=100g137f; ..
. 2017-10-21 15:53:37.263 type=file;size=4130139;modify=20171020180128;UNIX.mode=0777;UNIX.uid=1001;UNIX.gid=1000;unique=901g16846ef; BLUDV.mp4
. 2017-10-21 15:53:37.263 Directory listing successful
. 2017-10-21 15:53:37.263 ..;D;0;1899-12-30T00:00:00.000Z;0;"" [0];"" [0];---------;0
. 2017-10-21 15:53:37.263 BLUDV.mp4;-;4130139;2017-10-20T18:01:28.000Z;3;"1001" [0];"1000" [0];rwxrwxrwx;1
. 2017-10-21 15:53:37.272 Remote file '/DESENVOLVIMENTO/Teste/BLUDV.mp4' [2017-10-20T18:01:28.000Z] [4130139] is modified comparing to local file 'd:\12ch\BLUDV.mp4' [2017-09-22T18:12:50.000Z] [33957794]
< 2017-10-21 15:53:37.272 Script: Nothing to synchronize.
> 2017-10-21 15:53:37.384 Script: exit
. 2017-10-21 15:53:37.384 Script: Exit code: 0
. 2017-10-21 15:53:37.391 Disconnected from server
winscp.JPG (69.57 KB) [Download]

Description: print of winscp conected see size diference

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
If you have both criteria selected, the size matters only when timestamps match.

You may want to try the Mirror mode:

On the next time, do not abort the synchronization, during temporary connectivity problems. That should allow WinSCP to resume the transfer once the connection is restored.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License