Topic "Files downloaded with invalid timestamps (1899/2038)"

Author Message
lastmohican
[View user's profile]

Joined: 2017-01-11
Posts: 3
I'm using WinSCP.com to synchronize a local folder to a remote dir.

When I download files, the file timestamps are empty and the File "Modified" timestamp is "Dec 30, 1899 12:00:00AM".
Sometimes, the file timestamps are present, but they're in the future - like "1/18/2038 9:14PM".

This seems similar to the signed/unsigned SFTPv3-OpenSSH file timestamp error, but I'm receiving this even on the latest version(ver5.9.3) (both GUI and cmdline-scripted). (The remote site seems to use SFTP v3).

My synch cmd is like this -
synchronize local <local> <remote> -criteria=size

I need to preserve file timestamp from the remote server. I tried using "-preservetimestamp" flag but the behavior did not change.

What can I change so as to preserve the remote timestamp correctly in the downloaded file?

I've attached a compressed log file (at loglevel = 2).

Thanks in advance for all the help.
sftp_log.zip (2.4 MB) Private file

Description: Compressed Log File

Advertisements
lastmohican
[View user's profile]

Joined: 2017-01-11
Posts: 3
Anybody out there who can help?

Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26504
Location: Prague, Czechia
It's a known problem with the server you are using:
https://winscp.net/tracker/show_bug.cgi?id=1496

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
lastmohican
[View user's profile]

Joined: 2017-01-11
Posts: 3
Thanks much for your response and the dev version!
I was able to use it successfully to download files with valid timestamps from the server.
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