Preserve timestamp is not preserving it when uploading files

Advertisement

marcebil
Joined:
Posts:
3
Location:
Argentina

Preserve timestamp is not preserving it when uploading files

I set the option to Preserve timestamp, but it does not preserve it, it just put the current date
Using WinSCP Version 5.21.5 (Build 12858 2022-10-06)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Preserve timestamp is not preserving it when uploading files

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

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Copying file not preserving timestamp file

You are using the FTP protocol. In FTP, command MFMT can be used to set remote file timestamps. Your server does not support it. Some servers also support non-standard syntax of MDTM command for the same purpose. Your server does not support that either.

Though actually, your server is ProFTPD, which does support MFMT. Maybe you are using some old version.

Reply with quote

Advertisement

You can post new topics in this forum