Bug in WinSCP using "time" as synchronize (Nothing to synchronize)
Hi,
I think I discovered a bug in WinSCP (lastest version). Don't know why doesn't detect different time in one file (I think that ocurrs in more files).
Lets see the example:
When we see what's inside the SFTP and the local, we see this:
sftp:
local path E:\Software\Updates\Resources\Images:
As you see the time is different and it is no synced al all.
test2.txt output:
If I use
Any idea? Prolly it's a bug in WinSCP code. I have no idea what more to test.
Thank you!
I think I discovered a bug in WinSCP (lastest version). Don't know why doesn't detect different time in one file (I think that ocurrs in more files).
Lets see the example:
winscp_new.com /command "open sftp://ftp_resources:XXXXXX@2.248.193.XXX" "option batch continue" "synchronize remote -delete -criteria=time E:\Software\Updates\Resources\Images /Images/" "bye" >>test2.txt
sftp:
-rw-rw-rw- 0 root 122173 Feb 23 17:50:02 2021 952.jpg -rw-rw-rw- 0 root 122173 Feb 23 17:50:02 2021 952.png
E:\Software\Updates\Resources\Images>dir *952* Volume in drive E has no label. Volume Serial Number is D4CA-9482 Directory of E:\Software\Updates\Resources\Images 02/17/2010 05:10 PM 13,384 952.jpg 02/17/2010 05:10 PM 13,384 952.png 2 File(s) 26,768 bytes 0 Dir(s) 353,492,889,600 bytes free
test2.txt output:
Searching for host... Connecting to host... Authenticating... Using username "ftp_resources". Further authentication required Authenticating with pre-entered password. Authenticated. Starting the session... Session started. Active session: [1] ftp_resources@2.248.89.244 batch continue Comparing... Local 'E:\Software\Updates\Resources\Images' => Remote '/Images' Nothing to synchronize.
size
instead of time
, it works, so I think it is a problem with "time", they think that have the same date.
Any idea? Prolly it's a bug in WinSCP code. I have no idea what more to test.
Thank you!