Topic "WinSCP having timestamp issues with get or synchronize"

Author Message
oragain

Guest


Hi,
So am pretty sure the server side might have an issue when it comes to time stamps which fucks with command line tools. We do not control the server. I haven't found a tool yet who can keep the modified dates from the files on that server.

As you can see in the log below, winscp read the proper file timestamps. But then it goes and tries to preserve the time and it gets an 1899 timestamps which messes up everything.

Is there a way to get winscp to use the timestamp that is after the file? At the moment, either it preserves the timestamp and fails, or it uses the time at which it downloaded the file.

So here is the info:
WinSCP Version 5.5.6 (Build 4746) (OS 6.3.9600 - Windows Server 2012 R2 Datacenter)
And the log from a file transfer: (and yes the % are part of the filename)
. 2016-10-31 10:41:52.066 File: '/folder/%friggingfile%0efe8700b0d0k75l0011dc6b' [2016-10-31T09:20:20.000Z] [8235]
. 2016-10-31 10:41:52.066 Copying "/folder/%friggingfile%0efe8700b0d0k75l0011dc6b" to local directory started.
. 2016-10-31 10:41:52.066 Binary transfer mode selected.
. 2016-10-31 10:41:52.066 Opening remote file.
> 2016-10-31 10:41:52.066 Type: SSH_FXP_OPEN, Size: 97, Number: 3075
< 2016-10-31 10:41:52.668 Type: SSH_FXP_STATUS, Size: 40, Number: 2820
. 2016-10-31 10:41:52.668 Discarding reserved response
< 2016-10-31 10:41:52.690 Type: SSH_FXP_HANDLE, Size: 33, Number: 3075
> 2016-10-31 10:41:52.690 Type: SSH_FXP_FSTAT, Size: 33, Number: 3336
< 2016-10-31 10:41:52.731 Type: SSH_FXP_ATTRS, Size: 9, Number: 3336
> 2016-10-31 10:41:52.731 Type: SSH_FXP_READ, Size: 45, Number: 3589
< 2016-10-31 10:41:52.810 Status code: 1
. 2016-10-31 10:41:52.810 9 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2016-10-31 10:41:52.810 Type: SSH_FXP_CLOSE, Size: 33, Number: 5124
< 2016-10-31 10:41:52.841 Type: SSH_FXP_STATUS, Size: 29, Number: 4613
< 2016-10-31 10:41:52.841 Type: SSH_FXP_STATUS, Size: 29, Number: 4869
. 2016-10-31 10:41:52.841 Preserving timestamp [1899-12-30T05:00:00.000Z]


Thanks
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26705
Location: Prague, Czechia
Thanks for your report.

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
Advertisements

You can post new topics in this forum

Search

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