unix to windows timestamp

Advertisement

maxxi
Joined:
Posts:
4

unix to windows timestamp

trying to synchronize local windows (8) with remote unix by script.
command line:
WinSCP.exe /console /script=test.txt /log=test.log

script:
open sftp://<user>:<pass>@<url> -rawsettings ConsiderDST=2
synchronize local Z:\home\site\www\forum\gallery\mcp /home/site/www/forum/gallery/mcp 
close
bye

and every run winscp download entire content.

extract from log for one file:

. 2014-01-24 18:12:44.652 Local file 'Z:\home\site\www\forum\gallery\mcp\index.htm' [2011-03-27T20:32:01.000Z] [0] included to synchronization

. 2014-01-24 18:12:44.819 index.htm;-;0;2011-03-27T21:32:01.000Z;"site" [500];"site" [502];rw-r--r--;0

. 2014-01-24 18:12:44.827 Remote file '/home/site/www/forum/gallery/mcp/index.htm' [2011-03-27T21:32:01.000Z] [0] is modified comparing to local file 'Z:\home\site\www\forum\gallery\mcp\index.htm' [2011-03-27T20:32:01.000Z] [0]

. 2014-01-24 18:12:44.829 Copying "/home/site/www/forum/gallery/mcp/index.htm" to local directory started.


. 2014-01-24 18:12:45.029 Preserving timestamp [2011-03-27T21:32:01.000Z]

and then
Z:\home\site\www\forum\gallery\mcp>dir

 Содержимое папки Z:\home\site\www\forum\gallery\mcp

24.01.2014  03:09    <DIR>          .
24.01.2014  03:09    <DIR>          ..
27.03.2011  23:32                 0 index.htm

local timezone +3, DTS is permanent.
. 2014-01-24 18:12:43.146 Time zone: Current: GMT+3, Standard: GMT+3, DST: GMT+4, DST Start: 30.12.1899, DST End: 30.12.1899

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: unix to windows timestamp

Please attach a complete session log file showing synchronization of small set of files (even one file).

Reply with quote

martin
Site Admin
martin avatar

Re: unix to windows timestamp

Sorry, I've overlooked that. So are you now GMT+3 or GMT+4? Please attach logs from two consecutive runs.

Reply with quote

maxxi
Joined:
Posts:
4

Re: unix to windows timestamp

martin wrote:

Sorry, I've overlooked that. So are you now GMT+3 or GMT+4? Please attach logs from two consecutive runs.
here 2 logs.
GMT+3, Belarus.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: unix to windows timestamp

Thanks.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.

Reply with quote

Advertisement

You can post new topics in this forum