Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
maxxi

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.
martin

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.
maxxi

i'v attached log earlier. and it's complete.
martin

Re: unix to windows timestamp

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

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