Unable to preserve timestamp on SFTP-5

Advertisement

chrud
Joined:
Posts:
2
Location:
Austin

Unable to preserve timestamp on SFTP-5

I changed hosting companies, and am attempting to sftp files, and am finding out that all files transferred are getting timestamped with the current time, despite the option checked to "Preserve Timestamp."

A manual test using Windows sftp with the same login credentials shows that put -p behaves as expected, so I assume it's not a configuration issue of the hosting server.

I'm including a log of the problem... I see "PrTime: Yes" as well as "Preserving timestamp [2024-09-25T14:47:47.000Z]", but the resulting file shows a timestamp of "2024-11-14T15:16:42.000Z".

The name of the file being transferred is Twistianity-Volume-5.epub. Is there any indication in the log that I've missed something in setup?

Thanks!
David Chrudimsky
Description: Was expecting the written file to have a Sept 25th timestamp, but it ended up with a Nov 14th timestamp...

Reply with quote

Advertisement

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

Re: Unable to preserve timestamp on SFTP-5

I'd suspect a bug in the server. Did you try limiting the SFTP version to 3 to match the OpenSSH sftp?

We can double check if you want, if you post complete Debug 2 level log file showing the upload (preferably of some small file).

Reply with quote

Advertisement

You can post new topics in this forum