Topic "Date of received files using SFTP is wrong."

Author Message
ysseo@lgcns.com
[View user's profile]

Joined: 2016-10-17
Posts: 3
Location: Seoul, Korea
When i receive files using SFTP, Modified and Accessed date is wrong as attachment.
Modified and Accessed date is displayed as ‎"Saturday, ‎December ‎30, ‎1899, ‏‎12:00:00 AM"
Created date is no problem.
The program version is WinSCP 5.9.2.
[/img]
Wrong_Modified&Accessed_date.PNG (2.34 KB)

Description: Wrong date

Wrong_Modified&Accessed_date.PNG

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
ysseo@lgcns.com
[View user's profile]

Joined: 2016-10-17
Posts: 3
Location: Seoul, Korea
I send the log message.
You can confirm a message "2016-09-23 21:36:37.922 Preserving timestamp [1899-12-30T09:00:00.000Z]".

. 2016-09-23 21:36:36.547 Binary transfer mode selected.
. 2016-09-23 21:36:36.547 Opening remote file.
> 2016-09-23 21:36:36.547 Type: SSH_FXP_OPEN, Size: 58, Number: 17923
< 2016-09-23 21:36:36.844 Type: SSH_FXP_STATUS, Size: 40, Number: 17668
. 2016-09-23 21:36:36.844 Discarding reserved response
< 2016-09-23 21:36:37.282 Type: SSH_FXP_HANDLE, Size: 33, Number: 17923
> 2016-09-23 21:36:37.282 Type: SSH_FXP_FSTAT, Size: 33, Number: 18184
< 2016-09-23 21:36:37.501 Type: SSH_FXP_ATTRS, Size: 9, Number: 18184
> 2016-09-23 21:36:37.501 Type: SSH_FXP_READ, Size: 45, Number: 18437
< 2016-09-23 21:36:37.922 Status code: 1
. 2016-09-23 21:36:37.922 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2016-09-23 21:36:37.922 Type: SSH_FXP_CLOSE, Size: 33, Number: 18948
. 2016-09-23 21:36:37.922 Preserving timestamp [1899-12-30T09:00:00.000Z]
. 2016-09-23 21:36:37.922 Transfer done: '<file name>'[684]
> 2016-09-23 21:36:37.922 Script: close
. 2016-09-23 21:36:37.922 Closing connection.
. 2016-09-23 21:36:37.922 Sending special code: 12
. 2016-09-23 21:36:37.922 Sent EOF message

Thank you
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
"a full session log file", please.
ysseo@lgcns.com
[View user's profile]

Joined: 2016-10-17
Posts: 3
Location: Seoul, Korea
Refer to attchment.
session_logging.log (56.72 KB) Private file

Description: Debug 2

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Thanks for your log.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
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