Topic "unix to windows timestamp"

Author Message
maxxi
[View user's profile]

Joined: 2014-01-24
Posts: 4
trying to synchronize local windows (8) with remote unix by script.
command line:
Code:
WinSCP.exe /console /script=test.txt /log=test.log


script:
Code:

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:

Code:

. 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
Code:

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.
Code:

. 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
test.log (17.44 KB) [Download]

Description: (none)

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please attach a complete session log file showing synchronization of small set of files (even one file).
_________________
Martin Prikryl
maxxi
[View user's profile]

Joined: 2014-01-24
Posts: 4
i'v attached log earlier. and it's complete.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Sorry, I've overlooked that. So are you now GMT+3 or GMT+4? Please attach logs from two consecutive runs.
maxxi
[View user's profile]

Joined: 2014-01-24
Posts: 4
prikryl 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.
test2.log (17.48 KB) [Download]

Description: (none)

test1.log (17.48 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Thanks.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
This bug has been added to the tracker:
http://winscp.net/tracker/show_bug.cgi?id=1122
maxxi
[View user's profile]

Joined: 2014-01-24
Posts: 4
prikryl wrote:
This bug has been added to the tracker:
http://winscp.net/tracker/show_bug.cgi?id=1122


Thanx a lot.
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License