Problem, Transferring Files via WinSCP change the last modified date.

Advertisement

helpuserwin2323
Guest

Problem, Transferring Files via WinSCP change the last modified date.

Hi, I noticed when I'm transferring files the date under "changed" is changing to current date when I uploaded the files, instead to keep the original date of the files.
For example the file date is 20/09/2022 5:55, but when II transfer it to my server it's changing to current time.

Is there any way to cancel the option? I want to keep the original "last modified".
Thanks in advance.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,538
Location:
Prague, Czechia

Re: Problem, Transferring Files via WinSCP change the last modified date.

Most likely the server you are connecting to or the protocol you are using does not support preserving file timestamps when uploading.

If you believe otherwise, 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.

Reply with quote

helpuserwin2323
Guest

Re: Problem, Transferring Files via WinSCP change the last modified date.

Yeah you were right, it's not about the app. I tried to access via main account (root) with port 22, and all fine so I just got it wrong, because I used another software 'til now so I thought it might be a problem.
Thanks for your comment!

Reply with quote

Advertisement

You can post new topics in this forum